n8n-editor-ui 1.85.2 → 1.87.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-ChSRgyeI.css +39 -0
- package/dist/assets/AnimatedSpinner-urWn52iY.js +18 -0
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B2Xk-4o2.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DIbgkfAC.js} +1 -1
- package/dist/assets/{AuthView-Bhr2Ols-.js → AuthView-DIQI5asI.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-BcSDHC-c.css → CanvasChatSwitch-0IWSu8RE.css} +488 -46
- package/dist/assets/{CanvasChatSwitch-E9vu2jW8.js → CanvasChatSwitch-BIpZuY-n.js} +697 -214
- package/dist/assets/{ChangePasswordView-BzAEcqVw.js → ChangePasswordView-D8Qv0tim.js} +3 -3
- package/dist/assets/CollectionParameter-DT1MnS63.js +4 -0
- package/dist/assets/{CredentialsView-CZiEXdjH.js → CredentialsView-tJ8-2RrO.js} +8 -8
- package/dist/assets/{ErrorView-C1QywuMY.js → ErrorView-CZEZD7LB.js} +1 -1
- package/dist/assets/{ExecutionsTime-BOPJEomw.css → ExecutionsTime-DZHUIJjP.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-l5VZIkoy.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-gcknFyjA.js} +23 -20
- package/dist/assets/{ExecutionsView-Bo0Nk8lV.js → ExecutionsView-BCfIz8EF.js} +49 -57
- package/dist/assets/{ExecutionsView-JCKikuIS.css → ExecutionsView-ByQf9yli.css} +13 -47
- package/dist/assets/{FileSaver.min-D3VgyjMF.js → FileSaver.min-Bs2qHlKb.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-RpfOY9Ho.js → FixedCollectionParameter-E0LDqNW3.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DPTddCxG.js → ForgotMyPasswordView-YOnrzvKJ.js} +3 -3
- package/dist/assets/InsightsChartAverageRuntime-DWrrriYN.js +61 -0
- package/dist/assets/InsightsChartFailed-DRi6JC3m.js +57 -0
- package/dist/assets/InsightsChartFailureRate-BdFNsMpg.js +57 -0
- package/dist/assets/InsightsChartTimeSaved-C12GZzSQ.js +71 -0
- package/dist/assets/InsightsChartTotal-Cn386HO4.js +59 -0
- package/dist/assets/InsightsDashboard-BawwZ0Oo.js +154 -0
- package/dist/assets/InsightsDashboard-CB4vHnBh.css +152 -0
- package/dist/assets/InsightsPaywall-OeXh6LeZ.css +133 -0
- package/dist/assets/InsightsPaywall-g3JcqAYL.js +58 -0
- package/dist/assets/{useOverview-DcRuPjLJ.css → InsightsSummary-W08OzElS.css} +57 -35
- package/dist/assets/InsightsSummary-vMmKUcie.js +185 -0
- package/dist/assets/InsightsTableWorkflows-DQQ1vvMz.js +129 -0
- package/dist/assets/InsightsTableWorkflows-Us3j4UTO.css +128 -0
- package/dist/assets/{Logo-CxllxUni.js → Logo-Vm92axlM.js} +1 -1
- package/dist/assets/{MainHeader-9gTxUJIR.js → MainHeader-BUhpvu2K.js} +9 -10
- package/dist/assets/{MainSidebar-CRJML8mh.js → MainSidebar-D5P5FSUQ.js} +11 -4
- package/dist/assets/{NodeCreation-zoYjBJl6.js → NodeCreation-BgW5u-Bc.js} +4 -4
- package/dist/assets/{NodeCreator-D-qBRyBy.js → NodeCreator-CFe2n6vJ.js} +10 -26
- package/dist/assets/{NodeDetailsView-C1z3N5z_.css → NodeDetailsView-BT-ro74o.css} +63 -70
- package/dist/assets/{NodeDetailsView-C1iBFaC1.js → NodeDetailsView-CmtK-rDD.js} +145 -482
- package/dist/assets/{NodeView-Bio-FnnF.js → NodeView-BqaNPfpx.js} +19 -21
- package/dist/assets/{ProjectCardBadge-BEflW6oP.js → ProjectCardBadge-BKgtzWr1.js} +69 -36
- package/dist/assets/{ProjectCardBadge-C78ap7Rc.css → ProjectCardBadge-t3v64i1e.css} +18 -13
- package/dist/assets/{ProjectHeader-DK3_g_D8.js → ProjectHeader-BWVSdavS.js} +33 -7
- package/dist/assets/{ProjectHeader-B-a6_GH6.css → ProjectHeader-BsBpG-Mj.css} +7 -7
- package/dist/assets/{ProjectSettings-CLMy_-YC.js → ProjectSettings-BL-2-uOg.js} +3 -3
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CSazgsi8.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BL-bMMgn.js} +1 -2
- package/dist/assets/{ResourcesListLayout-CBvvL0VM.js → ResourcesListLayout-CozpmfUY.js} +1 -1
- package/dist/assets/{RunDataAi-C-tu9GrI.js → RunDataAi-B_EadpzG.js} +188 -94
- package/dist/assets/{RunDataAi-CN9FrT9c.css → RunDataAi-CUUDqZRP.css} +128 -0
- package/dist/assets/{RunDataJson-ClpS_600.js → RunDataJson-CyNNCtyd.js} +11 -12
- package/dist/assets/{RunDataJsonActions-gWW8Qkt_.js → RunDataJsonActions-SQqaiBEP.js} +1 -2
- package/dist/assets/{RunDataSearch-Dgv5JYk-.js → RunDataSearch-BF9kshKq.js} +1 -1
- package/dist/assets/{RunDataTable-nsOk35pD.js → RunDataTable-DsW7wuc2.js} +10 -8
- package/dist/assets/{SamlOnboarding-C5TSdGcx.js → SamlOnboarding-BX7RiRJB.js} +3 -3
- package/dist/assets/{SettingsApiView-CzQG1ofR.js → SettingsApiView-CDIPYvaG.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-D_F3n2NO.js → SettingsCommunityNodesView-BRSEkT73.js} +4 -5
- package/dist/assets/{SettingsExternalSecrets-BUgKlMoR.js → SettingsExternalSecrets-D7ASuAnS.js} +1 -1
- package/dist/assets/{SettingsLdapView-CAmuVErd.js → SettingsLdapView-DA5fZZ51.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DLkHrsx5.js → SettingsLogStreamingView-C9qkYvCr.js} +1 -1
- package/dist/assets/{SettingsPersonalView-2elwsG0f.js → SettingsPersonalView-BnNOJcvO.js} +2 -2
- package/dist/assets/{SettingsSourceControl-BD426GUo.js → SettingsSourceControl--ozL4427.js} +1 -1
- package/dist/assets/{SettingsSso-B-7lLoTI.js → SettingsSso-Bfe_HRSr.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-EUWVJYe2.js → SettingsUsageAndPlan-CzvMNudh.js} +1 -1
- package/dist/assets/{SettingsUsersView-C3GbTYvU.js → SettingsUsersView-DGu5ku48.js} +1 -1
- package/dist/assets/{SettingsView-DSMM_8SL.js → SettingsView-CvreVxXL.js} +1 -1
- package/dist/assets/{SetupView-CexY8Lic.js → SetupView-BJT6GtIA.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-BpLp754t.js → SetupWorkflowCredentialsButton-BEq2gs_-.js} +2 -4
- package/dist/assets/{SetupWorkflowFromTemplateView-CLvS9Kda.js → SetupWorkflowFromTemplateView-F9oCDWX8.js} +3 -12
- package/dist/assets/{SigninView-CYkcm3hG.js → SigninView-DyoDtCBc.js} +3 -3
- package/dist/assets/{SignoutView-C2HutrZm.js → SignoutView-DclBslYe.js} +1 -1
- package/dist/assets/{SignupView-B-o-ka0Z.js → SignupView-BhB0Hhj0.js} +3 -3
- package/dist/assets/{TemplateDetails-C20G_lj4.js → TemplateDetails-B3utdyMi.js} +1 -1
- package/dist/assets/{TemplateList-DQzcYS6n.js → TemplateList-Bgz1iiiH.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-DEEMhmYZ.js → TemplatesCollectionView-CORzb8YZ.js} +7 -9
- package/dist/assets/{TemplatesSearchView-S6802uNr.js → TemplatesSearchView-DTuv4-5C.js} +3 -3
- package/dist/assets/{TemplatesView-CT7S5O4K.js → TemplatesView-CFV5SVF7.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BMd9OmqA.js → TemplatesWorkflowView-CQVVdNty.js} +5 -7
- package/dist/assets/{TestDefinitionEditView-BXhOuJrU.css → TestDefinitionEditView-Cwkrz308.css} +12 -143
- package/dist/assets/{TestDefinitionEditView-5kDGEtaD.js → TestDefinitionEditView-DX6GIeq2.js} +179 -331
- package/dist/assets/{TestDefinitionListView-BM-hghAY.js → TestDefinitionListView-CLEkthYQ.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-CNN-qAmL.js → TestDefinitionNewView-DWTTqvlN.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-S8g84AaK.js → TestDefinitionRootView-D0yLW0V6.js} +1 -1
- package/dist/assets/{VariablesView-D90WCfYK.js → VariablesView-Dsr4pqth.js} +3 -3
- package/dist/assets/{WorkerView-BHVIRKm_.js → WorkerView-Bbu5wv-g.js} +6 -7
- package/dist/assets/{WorkflowActivator-BsceIfln.js → WorkflowActivator-C197X_D6.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DxGIzmq4.js → WorkflowExecutionsInfoAccordion-CHPlRtMQ.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-czqJYUnQ.js → WorkflowExecutionsLandingPage-CnvMc3SA.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-BzCGXWj0.js → WorkflowExecutionsPreview-CJBM3Awe.js} +24 -256
- package/dist/assets/{WorkflowExecutionsPreview-CHu6M3Dh.css → WorkflowExecutionsPreview-D7jTJ8GL.css} +16 -48
- package/dist/assets/{WorkflowExecutionsView-syep-_N0.js → WorkflowExecutionsView-BwB6WS6M.js} +11 -17
- package/dist/assets/{WorkflowHistory-CmHn_hnX.js → WorkflowHistory-U5a4aYts.js} +4 -4
- package/dist/assets/{WorkflowOnboardingView-BmhaZBkH.js → WorkflowOnboardingView-DHUUTLOo.js} +1 -1
- package/dist/assets/{WorkflowPreview-BN13256Q.js → WorkflowPreview-D8pwehRe.js} +1 -1
- package/dist/assets/{WorkflowsView-r9qJOUEb.css → WorkflowsView-CJB9aI6A.css} +27 -41
- package/dist/assets/{WorkflowsView-6qbtftll.js → WorkflowsView-DIh7kqZk.js} +76 -141
- package/dist/assets/chartjs.utils-DTEY3u-V.js +193 -0
- package/dist/assets/dateFormatter-C7xnNKzY.js +21 -0
- package/dist/assets/{easyAiWorkflowUtils-C7LfXIgb.js → easyAiWorkflowUtils-V__OjFo9.js} +1 -1
- package/dist/assets/{global-link-actions-znEIb0N4.js → global-link-actions-vGpWr9Uz.js} +1 -1
- package/dist/assets/{import-curl-BsKs3fYs.js → import-curl-C6ERUxFe.js} +1 -1
- package/dist/assets/{index-Cjz62pAo.js → index-BrjPYODL.js} +3 -1
- package/dist/assets/{index-DZljH0cm.js → index-DD7Wuhk5.js} +11407 -5580
- package/dist/assets/{index-CgXKy7t-.css → index-DJ205bL0.css} +418 -92
- package/dist/assets/{pickBy-DlIFPp_M.js → pickBy-BILEJ4hg.js} +1 -1
- package/dist/assets/{templateActions-ClDjWPHA.js → templateActions-M3qRQiV6.js} +2 -7
- package/dist/assets/{useBeforeUnload-BFlrxvKb.js → useBeforeUnload-DTsj_abb.js} +1 -1
- package/dist/assets/{useCanvasMapping-CJcAsQmx.css → useCanvasMapping-BkGr1HdJ.css} +29 -28
- package/dist/assets/{useCanvasMapping-C0PMQVwg.js → useCanvasMapping-DJvMRP2s.js} +71 -56
- package/dist/assets/{useCanvasOperations-2Ca5hPmu.js → useCanvasOperations-DCaSrD1N.js} +26 -254
- package/dist/assets/{useClearExecutionButtonVisible-D8unhL-H.js → useClearExecutionButtonVisible-CVPKhr9F.js} +2 -2
- package/dist/assets/{useExecutionDebugging-MiAgkS54.js → useExecutionDebugging-yY2o_eNc.js} +1 -1
- package/dist/assets/{useExecutionHelpers-CgD9G_XU.js → useExecutionHelpers-BVY9xXbG.js} +2 -19
- package/dist/assets/{useImportCurlCommand-D6LUnncf.js → useImportCurlCommand-Chewi-_x.js} +2 -2
- package/dist/assets/{usePushConnection-DAhrfl2L.js → usePushConnection-9zsAnuvC.js} +13 -6
- package/dist/assets/{useTestDefinitionForm-TDiKTq9o.js → useTestDefinitionForm-CCVy0jKP.js} +1 -31
- package/dist/assets/{useWorkflowActivate-C_GRAYoC.js → useWorkflowActivate-DeEvbrsK.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-XKkHxrwX.js +0 -4
- package/dist/assets/pushConnection.store-DHLcz9cC.js +0 -238
- package/dist/assets/useOverview-BqIOGpWx.js +0 -161
- package/dist/assets/useRunWorkflow-sGIs6NeH.js +0 -521
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { fW as arrayMap, fX as getAllKeysIn, fY as baseIteratee, fZ as basePickBy } from "./index-DD7Wuhk5.js";
|
|
2
2
|
function pickBy(object, predicate) {
|
|
3
3
|
if (object == null) {
|
|
4
4
|
return {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cM as assert, c$ as doesNodeHaveCredentialsToFill, V as VIEWS, c0 as tryToParseNumber, d0 as getNewWorkflow, d1 as replaceAllTemplateNodeCredentials, c4 as getNodesWithNormalizedPosition } from "./index-DD7Wuhk5.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 });
|
|
@@ -69,12 +69,7 @@ async function getFullTemplate(templatesStore, templateId) {
|
|
|
69
69
|
return templatesStore.getFullTemplateById(templateId);
|
|
70
70
|
}
|
|
71
71
|
async function useTemplateWorkflow(opts) {
|
|
72
|
-
const { nodeTypesStore,
|
|
73
|
-
const openCredentialSetup = posthogStore.isFeatureEnabled(TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT);
|
|
74
|
-
if (!openCredentialSetup) {
|
|
75
|
-
await openTemplateWorkflowOnNodeView(opts);
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
72
|
+
const { nodeTypesStore, templateId, templatesStore } = opts;
|
|
78
73
|
const [template] = await Promise.all([
|
|
79
74
|
getFullTemplate(templatesStore, templateId),
|
|
80
75
|
nodeTypesStore.loadNodeTypesIfNotLoaded()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as useUIStore,
|
|
1
|
+
import { L as useUIStore, a2 as useCanvasStore, r as ref, q as computed, V as VIEWS, c as useI18n } from "./index-DD7Wuhk5.js";
|
|
2
2
|
function useBeforeUnload({ route }) {
|
|
3
3
|
const uiStore = useUIStore();
|
|
4
4
|
const canvasStore = useCanvasStore();
|
|
@@ -1785,7 +1785,7 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
1785
1785
|
-------------------------- */
|
|
1786
1786
|
/* BEM
|
|
1787
1787
|
-------------------------- */
|
|
1788
|
-
.
|
|
1788
|
+
._node_1d2zc_123 {
|
|
1789
1789
|
--canvas-node--max-vertical-handles: max(
|
|
1790
1790
|
var(--canvas-node--main-input-count),
|
|
1791
1791
|
var(--canvas-node--main-output-count),
|
|
@@ -1800,6 +1800,7 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
1800
1800
|
--configurable-node--icon-size: 30px;
|
|
1801
1801
|
--trigger-node--border-radius: 36px;
|
|
1802
1802
|
--canvas-node--status-icons-offset: var(--spacing-3xs);
|
|
1803
|
+
--node-icon-color: var(--color-foreground-dark);
|
|
1803
1804
|
position: relative;
|
|
1804
1805
|
height: var(--canvas-node--height);
|
|
1805
1806
|
width: var(--canvas-node--width);
|
|
@@ -1817,20 +1818,20 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
1817
1818
|
* The reverse order defines the priority in case multiple states are active
|
|
1818
1819
|
*/
|
|
1819
1820
|
}
|
|
1820
|
-
.
|
|
1821
|
+
._node_1d2zc_123._trigger_1d2zc_156 {
|
|
1821
1822
|
border-radius: var(--trigger-node--border-radius) var(--border-radius-large) var(--border-radius-large) var(--trigger-node--border-radius);
|
|
1822
1823
|
}
|
|
1823
|
-
.
|
|
1824
|
+
._node_1d2zc_123._configuration_1d2zc_159 {
|
|
1824
1825
|
--canvas-node--width: 80px;
|
|
1825
1826
|
--canvas-node--height: 80px;
|
|
1826
1827
|
background: var(--canvas-node--background, var(--node-type-supplemental-background));
|
|
1827
1828
|
border: var(--canvas-node-border-width) solid var(--canvas-node--border-color, var(--color-foreground-dark));
|
|
1828
1829
|
border-radius: 50px;
|
|
1829
1830
|
}
|
|
1830
|
-
.
|
|
1831
|
+
._node_1d2zc_123._configuration_1d2zc_159 ._statusIcons_1d2zc_166 {
|
|
1831
1832
|
right: unset;
|
|
1832
1833
|
}
|
|
1833
|
-
.
|
|
1834
|
+
._node_1d2zc_123._configurable_1d2zc_169 {
|
|
1834
1835
|
--canvas-node--height: 100px;
|
|
1835
1836
|
--canvas-node--width: calc(
|
|
1836
1837
|
max(var(--configurable-node--input-count, 4), var(--configurable-node--min-input-count)) *
|
|
@@ -1838,10 +1839,10 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
1838
1839
|
);
|
|
1839
1840
|
justify-content: flex-start;
|
|
1840
1841
|
}
|
|
1841
|
-
.
|
|
1842
|
+
._node_1d2zc_123._configurable_1d2zc_169 .n8n-node-icon {
|
|
1842
1843
|
margin-left: var(--configurable-node--icon-offset);
|
|
1843
1844
|
}
|
|
1844
|
-
.
|
|
1845
|
+
._node_1d2zc_123._configurable_1d2zc_169 ._description_1d2zc_180 {
|
|
1845
1846
|
top: unset;
|
|
1846
1847
|
position: relative;
|
|
1847
1848
|
margin-top: 0;
|
|
@@ -1851,45 +1852,45 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
1851
1852
|
min-width: unset;
|
|
1852
1853
|
max-width: calc(var(--canvas-node--width) - var(--configurable-node--icon-offset) - var(--configurable-node--icon-size) - 2 * var(--spacing-s));
|
|
1853
1854
|
}
|
|
1854
|
-
.
|
|
1855
|
+
._node_1d2zc_123._configurable_1d2zc_169 ._label_1d2zc_190 {
|
|
1855
1856
|
text-align: left;
|
|
1856
1857
|
}
|
|
1857
|
-
.
|
|
1858
|
+
._node_1d2zc_123._configurable_1d2zc_169 ._subtitle_1d2zc_193 {
|
|
1858
1859
|
text-align: left;
|
|
1859
1860
|
}
|
|
1860
|
-
.
|
|
1861
|
+
._node_1d2zc_123._configurable_1d2zc_169._configuration_1d2zc_159 {
|
|
1861
1862
|
--canvas-node--height: 75px;
|
|
1862
1863
|
}
|
|
1863
|
-
.
|
|
1864
|
+
._node_1d2zc_123._configurable_1d2zc_169._configuration_1d2zc_159 ._statusIcons_1d2zc_166 {
|
|
1864
1865
|
right: calc(-1 * var(--spacing-2xs));
|
|
1865
1866
|
bottom: 0;
|
|
1866
1867
|
}
|
|
1867
|
-
.
|
|
1868
|
+
._node_1d2zc_123._selected_1d2zc_203 {
|
|
1868
1869
|
box-shadow: 0 0 0 8px var(--color-canvas-selected-transparent);
|
|
1869
1870
|
}
|
|
1870
|
-
.
|
|
1871
|
+
._node_1d2zc_123._success_1d2zc_206 {
|
|
1871
1872
|
border-color: var(--color-canvas-node-success-border-color, var(--color-success));
|
|
1872
1873
|
}
|
|
1873
|
-
.
|
|
1874
|
+
._node_1d2zc_123._warning_1d2zc_209 {
|
|
1874
1875
|
border-color: var(--color-warning);
|
|
1875
1876
|
}
|
|
1876
|
-
.
|
|
1877
|
+
._node_1d2zc_123._error_1d2zc_212 {
|
|
1877
1878
|
border-color: var(--color-canvas-node-error-border-color, var(--color-danger));
|
|
1878
1879
|
}
|
|
1879
|
-
.
|
|
1880
|
+
._node_1d2zc_123._pinned_1d2zc_215 {
|
|
1880
1881
|
border-color: var(--color-canvas-node-pinned-border-color, var(--color-node-pinned-border));
|
|
1881
1882
|
}
|
|
1882
|
-
.
|
|
1883
|
+
._node_1d2zc_123._disabled_1d2zc_218 {
|
|
1883
1884
|
border-color: var(--color-canvas-node-disabled-border-color, var(--color-foreground-base));
|
|
1884
1885
|
}
|
|
1885
|
-
.
|
|
1886
|
+
._node_1d2zc_123._running_1d2zc_221 {
|
|
1886
1887
|
background-color: var(--color-node-executing-background);
|
|
1887
1888
|
border-color: var(--color-canvas-node-running-border-color, var(--color-node-running-border));
|
|
1888
1889
|
}
|
|
1889
|
-
.
|
|
1890
|
+
._node_1d2zc_123._waiting_1d2zc_225 {
|
|
1890
1891
|
border-color: var(--color-canvas-node-waiting-border-color, var(--color-secondary));
|
|
1891
1892
|
}
|
|
1892
|
-
.
|
|
1893
|
+
._description_1d2zc_180 {
|
|
1893
1894
|
top: 100%;
|
|
1894
1895
|
position: absolute;
|
|
1895
1896
|
width: 100%;
|
|
@@ -1900,8 +1901,8 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
1900
1901
|
gap: var(--spacing-4xs);
|
|
1901
1902
|
align-items: center;
|
|
1902
1903
|
}
|
|
1903
|
-
.
|
|
1904
|
-
.
|
|
1904
|
+
._label_1d2zc_190,
|
|
1905
|
+
._disabledLabel_1d2zc_242 {
|
|
1905
1906
|
font-size: var(--font-size-m);
|
|
1906
1907
|
text-align: center;
|
|
1907
1908
|
text-overflow: ellipsis;
|
|
@@ -1913,7 +1914,7 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
1913
1914
|
font-weight: var(--font-weight-medium);
|
|
1914
1915
|
line-height: var(--font-line-height-compact);
|
|
1915
1916
|
}
|
|
1916
|
-
.
|
|
1917
|
+
._subtitle_1d2zc_193 {
|
|
1917
1918
|
width: 100%;
|
|
1918
1919
|
text-align: center;
|
|
1919
1920
|
color: var(--color-text-light);
|
|
@@ -1924,7 +1925,7 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
1924
1925
|
line-height: var(--font-line-height-compact);
|
|
1925
1926
|
font-weight: var(--font-weight-regular);
|
|
1926
1927
|
}
|
|
1927
|
-
.
|
|
1928
|
+
._statusIcons_1d2zc_166 {
|
|
1928
1929
|
position: absolute;
|
|
1929
1930
|
bottom: var(--canvas-node--status-icons-offset);
|
|
1930
1931
|
right: var(--canvas-node--status-icons-offset);
|
|
@@ -4315,11 +4316,11 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
4315
4316
|
-------------------------- */
|
|
4316
4317
|
/* BEM
|
|
4317
4318
|
-------------------------- */
|
|
4318
|
-
.minimap-enter-active[data-v-
|
|
4319
|
-
.minimap-leave-active[data-v-
|
|
4319
|
+
.minimap-enter-active[data-v-f096cf5d],
|
|
4320
|
+
.minimap-leave-active[data-v-f096cf5d] {
|
|
4320
4321
|
transition: opacity 0.3s ease;
|
|
4321
4322
|
}
|
|
4322
|
-
.minimap-enter-from[data-v-
|
|
4323
|
-
.minimap-leave-to[data-v-
|
|
4323
|
+
.minimap-enter-from[data-v-f096cf5d],
|
|
4324
|
+
.minimap-leave-to[data-v-f096cf5d] {
|
|
4324
4325
|
opacity: 0;
|
|
4325
4326
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { p as parseCanvasConnectionHandleString,
|
|
3
|
-
import { u as useRunWorkflow, a as useNodeDirtiness } from "./useRunWorkflow-sGIs6NeH.js";
|
|
1
|
+
import { d as defineComponent, fa as getCurrentScope, aZ as inject, fb as effectScope, I as watch, cN as getCurrentInstance, fc as useSlots, b7 as onUnmounted, i as createElementBlock, g as openBlock, j as createVNode, x as renderSlot, w as withCtx, k as createBaseVNode, m as unref, r as ref, fd as useAttrs, f as createCommentVNode, e as createBlock, b3 as mergeProps, F as Fragment, bI as toRef, fe as Teleport, ff as createPropsRestProxy, q as computed, o as onMounted, n as normalizeClass, bL as reactive, fg as onScopeDispose, aB as onBeforeMount, D as renderList, B as normalizeStyle, z as nextTick, y as onBeforeUnmount, fh as isMemoSame, t as toDisplayString, b2 as resolveDynamicComponent, l as createTextVNode, a_ as isRef, a$ as toRefs$1, fi as customRef, bd as provide, h as resolveComponent, as as h, fj as toValue$1, fk as markRaw, fl as readonly, _ as _export_sfc$1, c as useI18n, bK as KeyboardShortcutTooltip, bu as NodeConnectionTypes, fm as CanvasKey, a0 as useCssModule, L as useUIStore, bw as useNodeTypesStore, U as useWorkflowsStore, a3 as useSourceControlStore, a9 as getResourcePermissions, eX as isPresent, fn as getMousePosition$1, aA as STICKY_NODE_TYPE, bi as usePinnedData, fo as NOT_DUPLICATABLE_NODE_TYPES, fp as isExecutable, fq as N8nActionDropdown, cl as getDefaultExportFromCjs, f6 as NODE_SIZE, bR as CanvasNodeRenderType, f7 as GRID_SIZE, fr as useThrottleFn, fs as useActiveElement, ft as useDeviceSupport, fu as useEventListener$1, fv as onKeyDown, fw as onKeyUp, bc as watchEffect, b0 as normalizeProps, aW as createSlots, c1 as isValidNodeConnectionType, c2 as CanvasConnectionMode, fx as refThrottled, fy as CanvasNodeKey, fz as mergeModels, fA as useModel, bx as useNodeHelpers, fB as TitledList, aS as N8nTooltip, fC as CanvasNodeDirtiness, bC as _sfc_main$z, J as withModifiers, aj as nodeViewEventBus, c5 as NODE_CREATOR_OPEN_SOURCES, fD as CanvasNodeHandleKey, aC as withDirectives, aD as vShow, fE as Transition$2, b as useRouter, by as useRunWorkflow, bz as LOGS_PANEL_STATE, bv as CHAT_TRIGGER_NODE_TYPE, C as createEventBus, fF as isEqual, bY as Suspense, b1 as guardReactiveProps, fG as useNodeDirtiness, eS as CUSTOM_API_CALL_KEY, br as getNodeInputs, bt as getNodeOutputs, dx as getTriggerNodeServiceName, ci as sanitizeHtml, fH as nodeIssuesToString, fI as WAIT_NODE_TYPE, d$ as SEND_AND_WAIT_OPERATION, fJ as FORM_NODE_TYPE, fK as WAIT_INDEFINITELY, fL as SIMULATE_NODE_TYPE, fM as SIMULATE_TRIGGER_NODE_TYPE, fN as getNodeIconSource } from "./index-DD7Wuhk5.js";
|
|
2
|
+
import { p as parseCanvasConnectionHandleString, a as useNodeCreatorStore, b as useCanvasOperations, i as insertSpacersBetweenEndpoints, c as createCanvasConnectionHandleString, m as mapLegacyEndpointsToCanvasConnectionPort, e as checkOverlap, f as mapLegacyConnectionsToCanvasConnections } from "./useCanvasOperations-DCaSrD1N.js";
|
|
4
3
|
function tryOnScopeDispose(fn) {
|
|
5
4
|
if (getCurrentScope()) {
|
|
6
5
|
onScopeDispose(fn);
|
|
@@ -9925,7 +9924,7 @@ const style0$o = {
|
|
|
9925
9924
|
const cssModules$o = {
|
|
9926
9925
|
"$style": style0$o
|
|
9927
9926
|
};
|
|
9928
|
-
const __unplugin_components_1
|
|
9927
|
+
const __unplugin_components_1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__cssModules", cssModules$o]]);
|
|
9929
9928
|
const EDGE_PADDING_BOTTOM = 130;
|
|
9930
9929
|
const EDGE_PADDING_X = 40;
|
|
9931
9930
|
const EDGE_BORDER_RADIUS = 16;
|
|
@@ -17974,7 +17973,7 @@ const style0$h = {
|
|
|
17974
17973
|
const cssModules$h = {
|
|
17975
17974
|
"$style": style0$h
|
|
17976
17975
|
};
|
|
17977
|
-
const
|
|
17976
|
+
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__cssModules", cssModules$h]]);
|
|
17978
17977
|
const _hoisted_1$4 = { key: 1 };
|
|
17979
17978
|
const _hoisted_2$1 = ["textContent"];
|
|
17980
17979
|
const _hoisted_3$1 = { key: 3 };
|
|
@@ -18121,7 +18120,7 @@ const style0$g = {
|
|
|
18121
18120
|
const cssModules$g = {
|
|
18122
18121
|
"$style": style0$g
|
|
18123
18122
|
};
|
|
18124
|
-
const
|
|
18123
|
+
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__cssModules", cssModules$g]]);
|
|
18125
18124
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
18126
18125
|
__name: "CanvasNodeTooltip",
|
|
18127
18126
|
props: {
|
|
@@ -18297,6 +18296,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18297
18296
|
const isSingleMainOutputNode = mainOutputs.value.length === 1 && mainOutputConnections.value.length <= 1;
|
|
18298
18297
|
return isDisabled.value && isSingleMainInputNode && isSingleMainOutputNode;
|
|
18299
18298
|
});
|
|
18299
|
+
const iconSize = computed(() => renderOptions.value.configuration ? 30 : 40);
|
|
18300
|
+
const iconSource = computed(() => renderOptions.value.icon);
|
|
18300
18301
|
const showTooltip = ref(false);
|
|
18301
18302
|
watch(initialized, () => {
|
|
18302
18303
|
if (initialized.value) {
|
|
@@ -18317,8 +18318,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18317
18318
|
}
|
|
18318
18319
|
return (_ctx, _cache) => {
|
|
18319
18320
|
const _component_CanvasNodeTooltip = __unplugin_components_0$3;
|
|
18320
|
-
const
|
|
18321
|
-
const
|
|
18321
|
+
const _component_NodeIcon = _sfc_main$z;
|
|
18322
|
+
const _component_CanvasNodeStatusIcons = __unplugin_components_2;
|
|
18323
|
+
const _component_CanvasNodeDisabledStrikeThrough = __unplugin_components_3;
|
|
18322
18324
|
return openBlock(), createElementBlock("div", {
|
|
18323
18325
|
class: normalizeClass(classes.value),
|
|
18324
18326
|
style: normalizeStyle(styles.value),
|
|
@@ -18330,7 +18332,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18330
18332
|
key: 0,
|
|
18331
18333
|
visible: showTooltip.value
|
|
18332
18334
|
}, null, 8, ["visible"])) : createCommentVNode("", true),
|
|
18333
|
-
|
|
18335
|
+
createVNode(_component_NodeIcon, {
|
|
18336
|
+
"icon-source": iconSource.value,
|
|
18337
|
+
size: iconSize.value,
|
|
18338
|
+
shrink: false,
|
|
18339
|
+
disabled: unref(isDisabled)
|
|
18340
|
+
}, null, 8, ["icon-source", "size", "disabled"]),
|
|
18334
18341
|
!unref(isDisabled) ? (openBlock(), createBlock(_component_CanvasNodeStatusIcons, {
|
|
18335
18342
|
key: 1,
|
|
18336
18343
|
class: normalizeClass(unref($style).statusIcons)
|
|
@@ -18356,23 +18363,23 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18356
18363
|
};
|
|
18357
18364
|
}
|
|
18358
18365
|
});
|
|
18359
|
-
const node = "
|
|
18360
|
-
const trigger$1 = "
|
|
18361
|
-
const configuration = "
|
|
18362
|
-
const statusIcons = "
|
|
18363
|
-
const configurable = "
|
|
18364
|
-
const description = "
|
|
18365
|
-
const label$5 = "
|
|
18366
|
-
const subtitle = "
|
|
18367
|
-
const selected$1 = "
|
|
18368
|
-
const success$1 = "
|
|
18369
|
-
const warning = "
|
|
18370
|
-
const error = "
|
|
18371
|
-
const pinned = "
|
|
18372
|
-
const disabled = "
|
|
18373
|
-
const running = "
|
|
18374
|
-
const waiting = "
|
|
18375
|
-
const disabledLabel = "
|
|
18366
|
+
const node = "_node_1d2zc_123";
|
|
18367
|
+
const trigger$1 = "_trigger_1d2zc_156";
|
|
18368
|
+
const configuration = "_configuration_1d2zc_159";
|
|
18369
|
+
const statusIcons = "_statusIcons_1d2zc_166";
|
|
18370
|
+
const configurable = "_configurable_1d2zc_169";
|
|
18371
|
+
const description = "_description_1d2zc_180";
|
|
18372
|
+
const label$5 = "_label_1d2zc_190";
|
|
18373
|
+
const subtitle = "_subtitle_1d2zc_193";
|
|
18374
|
+
const selected$1 = "_selected_1d2zc_203";
|
|
18375
|
+
const success$1 = "_success_1d2zc_206";
|
|
18376
|
+
const warning = "_warning_1d2zc_209";
|
|
18377
|
+
const error = "_error_1d2zc_212";
|
|
18378
|
+
const pinned = "_pinned_1d2zc_215";
|
|
18379
|
+
const disabled = "_disabled_1d2zc_218";
|
|
18380
|
+
const running = "_running_1d2zc_221";
|
|
18381
|
+
const waiting = "_waiting_1d2zc_225";
|
|
18382
|
+
const disabledLabel = "_disabledLabel_1d2zc_242";
|
|
18376
18383
|
const style0$e = {
|
|
18377
18384
|
node,
|
|
18378
18385
|
trigger: trigger$1,
|
|
@@ -19964,7 +19971,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19964
19971
|
__name: "CanvasNodeRenderer",
|
|
19965
19972
|
setup(__props) {
|
|
19966
19973
|
const node2 = inject(CanvasNodeKey);
|
|
19967
|
-
const slots = useSlots();
|
|
19968
19974
|
const Render = () => {
|
|
19969
19975
|
const renderType2 = node2?.data.value.render.type ?? CanvasNodeRenderType.Default;
|
|
19970
19976
|
let Component;
|
|
@@ -19978,13 +19984,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19978
19984
|
default:
|
|
19979
19985
|
Component = CanvasNodeDefault;
|
|
19980
19986
|
}
|
|
19981
|
-
return h(
|
|
19982
|
-
|
|
19983
|
-
|
|
19984
|
-
"data-canvas-node-render-type": renderType2
|
|
19985
|
-
},
|
|
19986
|
-
slots.default
|
|
19987
|
-
);
|
|
19987
|
+
return h(Component, {
|
|
19988
|
+
"data-canvas-node-render-type": renderType2
|
|
19989
|
+
});
|
|
19988
19990
|
};
|
|
19989
19991
|
return (_ctx, _cache) => {
|
|
19990
19992
|
return openBlock(), createBlock(Render);
|
|
@@ -20627,7 +20629,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
20627
20629
|
const uiStore = useUIStore();
|
|
20628
20630
|
const { runEntireWorkflow } = useRunWorkflow({ router });
|
|
20629
20631
|
const { toggleChatOpen } = useCanvasOperations({ router });
|
|
20630
|
-
const isChatOpen = computed(() => workflowsStore.
|
|
20632
|
+
const isChatOpen = computed(() => workflowsStore.logsPanelState !== LOGS_PANEL_STATE.CLOSED);
|
|
20631
20633
|
const isExecuting = computed(() => uiStore.isActionActive.workflowRunning);
|
|
20632
20634
|
const testId = computed(() => `execute-workflow-button-${__props.name}`);
|
|
20633
20635
|
return (_ctx, _cache) => {
|
|
@@ -20721,7 +20723,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
20721
20723
|
const emit = __emit;
|
|
20722
20724
|
const style = useCssModule();
|
|
20723
20725
|
const props = __props;
|
|
20724
|
-
const nodeTypesStore = useNodeTypesStore();
|
|
20725
20726
|
const contextMenu2 = useContextMenu();
|
|
20726
20727
|
const { connectingHandle } = useCanvas();
|
|
20727
20728
|
const nodeClasses = ref([]);
|
|
@@ -20741,9 +20742,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
20741
20742
|
connections
|
|
20742
20743
|
});
|
|
20743
20744
|
const isDisabled = computed(() => props.data.disabled);
|
|
20744
|
-
const nodeTypeDescription = computed(() => {
|
|
20745
|
-
return nodeTypesStore.getNodeType(props.data.type, props.data.typeVersion);
|
|
20746
|
-
});
|
|
20747
20745
|
const classes = computed(() => ({
|
|
20748
20746
|
[style.canvasNode]: true,
|
|
20749
20747
|
[style.showToolbar]: showToolbar2.value,
|
|
@@ -20776,9 +20774,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
20776
20774
|
...nonMainOutputs.value.map(nonMainOutputsMappingFn)
|
|
20777
20775
|
].filter((endpoint) => !!endpoint);
|
|
20778
20776
|
});
|
|
20779
|
-
const nodeIconSize = computed(
|
|
20780
|
-
() => "configuration" in data.value.render.options && data.value.render.options.configuration ? 30 : 40
|
|
20781
|
-
);
|
|
20782
20777
|
const createEndpointMappingFn = ({
|
|
20783
20778
|
mode,
|
|
20784
20779
|
position: position2,
|
|
@@ -20872,6 +20867,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
20872
20867
|
readOnly,
|
|
20873
20868
|
eventBus: canvasNodeEventBus
|
|
20874
20869
|
});
|
|
20870
|
+
const hasToolbar = computed(() => props.data.type !== CanvasNodeRenderType.AddNodes);
|
|
20875
20871
|
const showToolbar2 = computed(() => {
|
|
20876
20872
|
const target2 = contextMenu2.target.value;
|
|
20877
20873
|
return contextMenu2.isOpen && target2?.source === "node-button" && target2.nodeId === id2.value;
|
|
@@ -20942,7 +20938,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
20942
20938
|
inputs: unref(mainInputs),
|
|
20943
20939
|
outputs: unref(mainOutputs),
|
|
20944
20940
|
data: data.value
|
|
20945
|
-
}) :
|
|
20941
|
+
}) : hasToolbar.value ? (openBlock(), createBlock(CanvasNodeToolbar, {
|
|
20946
20942
|
key: 1,
|
|
20947
20943
|
"data-test-id": "canvas-node-toolbar",
|
|
20948
20944
|
"read-only": readOnly.value,
|
|
@@ -20959,16 +20955,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
20959
20955
|
onMove,
|
|
20960
20956
|
onUpdate,
|
|
20961
20957
|
"onOpen:contextmenu": onOpenContextMenuFromNode
|
|
20962
|
-
}, {
|
|
20963
|
-
default: withCtx(() => [
|
|
20964
|
-
createVNode(_sfc_main$z, {
|
|
20965
|
-
"node-type": nodeTypeDescription.value,
|
|
20966
|
-
size: nodeIconSize.value,
|
|
20967
|
-
shrink: false,
|
|
20968
|
-
disabled: isDisabled.value
|
|
20969
|
-
}, null, 8, ["node-type", "size", "disabled"])
|
|
20970
|
-
]),
|
|
20971
|
-
_: 1
|
|
20972
20958
|
}),
|
|
20973
20959
|
props.data.render.type === unref(CanvasNodeRenderType).Default && props.data.render.options.trigger ? (openBlock(), createBlock(CanvasNodeTrigger, {
|
|
20974
20960
|
key: 2,
|
|
@@ -21037,6 +21023,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21037
21023
|
onNodesInitialized,
|
|
21038
21024
|
findNode,
|
|
21039
21025
|
viewport,
|
|
21026
|
+
nodesSelectionActive,
|
|
21040
21027
|
onEdgeMouseLeave,
|
|
21041
21028
|
onEdgeMouseEnter,
|
|
21042
21029
|
onEdgeMouseMove,
|
|
@@ -21203,6 +21190,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21203
21190
|
function onSelectionDragStop(event) {
|
|
21204
21191
|
onUpdateNodesPosition(event.nodes.map(({ id: id2, position: position2 }) => ({ id: id2, position: position2 })));
|
|
21205
21192
|
}
|
|
21193
|
+
function onSelectionEnd() {
|
|
21194
|
+
if (selectedNodes.value.length === 1) {
|
|
21195
|
+
nodesSelectionActive.value = false;
|
|
21196
|
+
}
|
|
21197
|
+
}
|
|
21206
21198
|
function onSetNodeActivated(id2) {
|
|
21207
21199
|
props.eventBus.emit("nodes:action", { ids: [id2], action: "update:node:activated" });
|
|
21208
21200
|
emit("update:node:activated", id2);
|
|
@@ -21488,7 +21480,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21488
21480
|
});
|
|
21489
21481
|
return (_ctx, _cache) => {
|
|
21490
21482
|
const _component_CanvasConnectionLine = __unplugin_components_0$5;
|
|
21491
|
-
const _component_CanvasControlButtons = __unplugin_components_1
|
|
21483
|
+
const _component_CanvasControlButtons = __unplugin_components_1;
|
|
21492
21484
|
return openBlock(), createBlock(unref(_sfc_main$1$4), {
|
|
21493
21485
|
id: _ctx.id,
|
|
21494
21486
|
nodes: _ctx.nodes,
|
|
@@ -21518,6 +21510,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21518
21510
|
onNodeDragStop,
|
|
21519
21511
|
onNodeClick,
|
|
21520
21512
|
onSelectionDragStop,
|
|
21513
|
+
onSelectionEnd,
|
|
21521
21514
|
onSelectionContextMenu: onOpenSelectionContextMenu,
|
|
21522
21515
|
onDragover: onDragOver,
|
|
21523
21516
|
onDrop
|
|
@@ -21626,7 +21619,7 @@ const style0 = {
|
|
|
21626
21619
|
const cssModules = {
|
|
21627
21620
|
"$style": style0
|
|
21628
21621
|
};
|
|
21629
|
-
const Canvas = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
21622
|
+
const Canvas = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-f096cf5d"]]);
|
|
21630
21623
|
function useCanvasMapping({
|
|
21631
21624
|
nodes,
|
|
21632
21625
|
connections,
|
|
@@ -21655,6 +21648,10 @@ function useCanvasMapping({
|
|
|
21655
21648
|
};
|
|
21656
21649
|
}
|
|
21657
21650
|
function createDefaultNodeRenderType(node2) {
|
|
21651
|
+
const nodeType = nodeTypeDescriptionByNodeId.value[node2.id];
|
|
21652
|
+
const icon = getNodeIconSource(
|
|
21653
|
+
simulatedNodeTypeDescriptionByNodeId.value[node2.id] ? simulatedNodeTypeDescriptionByNodeId.value[node2.id] : nodeType
|
|
21654
|
+
);
|
|
21658
21655
|
return {
|
|
21659
21656
|
type: CanvasNodeRenderType.Default,
|
|
21660
21657
|
options: {
|
|
@@ -21668,7 +21665,8 @@ function useCanvasMapping({
|
|
|
21668
21665
|
labelSize: nodeOutputLabelSizeById.value[node2.id]
|
|
21669
21666
|
},
|
|
21670
21667
|
tooltip: nodeTooltipById.value[node2.id],
|
|
21671
|
-
dirtiness: dirtinessByName.value[node2.name]
|
|
21668
|
+
dirtiness: dirtinessByName.value[node2.name],
|
|
21669
|
+
icon
|
|
21672
21670
|
}
|
|
21673
21671
|
};
|
|
21674
21672
|
}
|
|
@@ -21977,6 +21975,23 @@ function useCanvasMapping({
|
|
|
21977
21975
|
{}
|
|
21978
21976
|
);
|
|
21979
21977
|
});
|
|
21978
|
+
const simulatedNodeTypeDescriptionByNodeId = computed(() => {
|
|
21979
|
+
return nodes.value.reduce((acc, node2) => {
|
|
21980
|
+
if ([SIMULATE_NODE_TYPE, SIMULATE_TRIGGER_NODE_TYPE].includes(node2.type)) {
|
|
21981
|
+
const icon = node2.parameters?.icon;
|
|
21982
|
+
const iconValue = workflowObject.value.expression.getSimpleParameterValue(
|
|
21983
|
+
node2,
|
|
21984
|
+
icon,
|
|
21985
|
+
"internal",
|
|
21986
|
+
{}
|
|
21987
|
+
);
|
|
21988
|
+
if (iconValue && typeof iconValue === "string") {
|
|
21989
|
+
acc[node2.id] = nodeTypesStore.getNodeType(iconValue);
|
|
21990
|
+
}
|
|
21991
|
+
}
|
|
21992
|
+
return acc;
|
|
21993
|
+
}, {});
|
|
21994
|
+
});
|
|
21980
21995
|
const mappedNodes = computed(() => [
|
|
21981
21996
|
...nodes.value.map((node2) => {
|
|
21982
21997
|
const inputConnections = workflowObject.value.connectionsByDestinationNode[node2.name] ?? {};
|