n8n-editor-ui 1.63.2 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AnnotationTagsDropdown.ee-BrHzX0gM.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-D3L0Zqex.js} +2 -3
- package/dist/assets/{AuthView-DBTpAWBR.js → AuthView-Bc_d9TU4.js} +3 -6
- package/dist/assets/{AuthView-BnHKMYu_.css → AuthView-Cnr31xHM.css} +6 -5
- package/dist/assets/{CanvasControls-DJjSv7Wo.js → CanvasControls-BZZ5xUA4.js} +1 -31
- package/dist/assets/{ChangePasswordView-4HfufusV.js → ChangePasswordView-BmKDYqVl.js} +2 -32
- package/dist/assets/CollectionParameter-CZX6_SwN.js +4 -0
- package/dist/assets/{CredentialsView-ChVc0kqb.js → CredentialsView-BERKB9pX.js} +5 -35
- package/dist/assets/{ErrorView-C3MNpu-h.js → ErrorView-CGHYke1h.js} +1 -31
- package/dist/assets/{ExecutionsFilter-C71cMIbt.js → ExecutionsFilter-DgmpIaxp.js} +2 -5
- package/dist/assets/{ExecutionsView-CyfD2AaP.js → ExecutionsView-BVJE03N7.js} +18 -54
- package/dist/assets/{file-saver-Dbfm4l4I.js → FileSaver.min-vFM8HBH6.js} +5 -12
- package/dist/assets/{FixedCollectionParameter-DjS7zdm4.js → FixedCollectionParameter-Cu1pUHaU.js} +1 -32
- package/dist/assets/{ForgotMyPasswordView-BThu5AzW.js → ForgotMyPasswordView-CA1z31op.js} +2 -32
- package/dist/assets/{MainHeader-BonioYN5.js → MainHeader-lphq3_C7.js} +8 -47
- package/dist/assets/{MainSidebar-NOlas3VF.js → MainSidebar-CkmsLAKw.js} +5 -44
- package/dist/assets/{NodeCreation-ByUlHR8c.js → NodeCreation-CDKKeIJl.js} +4 -7
- package/dist/assets/{NodeCreator-DE9FRbnS.js → NodeCreator-vrcCon6T.js} +20 -64
- package/dist/assets/{NodeViewSwitcher-D7fdLnF1.js → NodeViewSwitcher-CebfwLIC.js} +17198 -4326
- package/dist/assets/{NodeViewSwitcher-BMWd0Gm9.css → NodeViewSwitcher-DFIa0RPL.css} +136 -135
- package/dist/assets/{ProjectCardBadge-f4baniz3.js → ProjectCardBadge.vue_vue_type_script_setup_true_lang-FPZVaoxg.js} +1 -12
- package/dist/assets/{ProjectSettings-CeJUMGSQ.js → ProjectSettings-CGPWNP7C.js} +6 -38
- package/dist/assets/{ProjectTabs-dq7a740r.js → ProjectTabs-D-UxAFWq.js} +1 -3
- package/dist/assets/{PushConnectionTracker-Bs_UzKPJ.js → PushConnectionTracker-dMPKSiLd.js} +1 -4
- package/dist/assets/{ResourcesListLayout-B1XBsMRy.js → ResourcesListLayout-BmEYzLen.js} +2 -7
- package/dist/assets/{RunDataAi-DdGO06st.js → RunDataAi-iy_LiKYx.js} +51 -13
- package/dist/assets/{RunDataJson-DTKvzLZz.js → RunDataJson-30CwTvxp.js} +11 -34
- package/dist/assets/{jsonpath--XXuA3UN.js → RunDataJsonActions-DM8Iegu4.js} +272 -73
- package/dist/assets/{RunDataSearch-CW0connN.js → RunDataSearch-BBZyQz1l.js} +1 -31
- package/dist/assets/{RunDataTable-C-mEq2dD.js → RunDataTable-DlYCaRmD.js} +43 -70
- package/dist/assets/{SamlOnboarding-BfsNvcA1.js → SamlOnboarding-YPyqQAED.js} +2 -32
- package/dist/assets/{SettingsApiView--aIfdlDF.js → SettingsApiView-DM8-r2vC.js} +11 -42
- package/dist/assets/{SettingsCommunityNodesView-DdyT-sgu.js → SettingsCommunityNodesView-CKUSvNJA.js} +3 -35
- package/dist/assets/{SettingsExternalSecrets-DTMX68vp.js → SettingsExternalSecrets-rn0Uon3J.js} +2 -32
- package/dist/assets/SettingsFakeDoorView-DRt2eUs1.js +44 -0
- package/dist/assets/{humanize-duration-DdvB4QXM.js → SettingsLdapView-BkNvZbuP.js} +827 -12
- package/dist/assets/{SettingsLogStreamingView-lQvw760T.js → SettingsLogStreamingView-DJgGrIQ1.js} +1 -31
- package/dist/assets/{SettingsPersonalView-2vlxeSgj.js → SettingsPersonalView-B2bLHSrL.js} +1 -31
- package/dist/assets/{SettingsSourceControl-1Z-AF1Yv.js → SettingsSourceControl-B_iPYBUX.js} +4 -35
- package/dist/assets/{SettingsSso-Bp82V4Mw.js → SettingsSso-Bo8ktz1t.js} +1 -31
- package/dist/assets/{SettingsUsageAndPlan-CDXY25ax.js → SettingsUsageAndPlan-C9jiEOqE.js} +1 -32
- package/dist/assets/{SettingsUsersView-3sIYeb4A.js → SettingsUsersView-Do-E2R-M.js} +1 -31
- package/dist/assets/{SettingsView-BNNArsIx.js → SettingsView-DK-_ao4_.js} +25 -34
- package/dist/assets/{SetupView-pspJi2at.js → SetupView-ZFKQKIJD.js} +2 -32
- package/dist/assets/{SetupWorkflowCredentialsButton-SC5-MI0D.js → SetupWorkflowCredentialsButton-BaMJBfk2.js} +1 -31
- package/dist/assets/{SetupWorkflowFromTemplateView-CU3grpvN.js → SetupWorkflowFromTemplateView-BvmNbGYh.js} +3 -33
- package/dist/assets/{SigninView-CZdE2LU3.js → SigninView-k_FnQgNC.js} +2 -32
- package/dist/assets/SignoutView-DTgJmCun.js +27 -0
- package/dist/assets/{SignupView-BPlt_Lbh.js → SignupView-GFIqKxQ1.js} +2 -32
- package/dist/assets/{TemplateDetails-CdRKYWL6.js → TemplateDetails-CrE5d8Z2.js} +1 -4
- package/dist/assets/{TemplateList-BYq50eQG.js → TemplateList-DugVXLa6.js} +1 -3
- package/dist/assets/{TemplatesCollectionView-D-N6pD00.js → TemplatesCollectionView-BulzRTVk.js} +5 -35
- package/dist/assets/{TemplatesSearchView-CaRL_LUd.js → TemplatesSearchView--aU9JJ_A.js} +738 -41
- package/dist/assets/{TemplatesSearchView-BYNWZYGm.css → TemplatesSearchView-BiokbeYf.css} +94 -1
- package/dist/assets/{TemplatesView-C5HnqMFU.js → TemplatesView-VxuSLtRB.js} +1 -3
- package/dist/assets/{TemplatesWorkflowView-XV_mNcau.js → TemplatesWorkflowView-DEOmoGFU.js} +5 -35
- package/dist/assets/{VariablesView-CDacoelY.js → VariablesView-D0qaiG35.js} +2 -33
- package/dist/assets/{WorkerView-DciBUDzM.js → WorkerView-BQWPVPCG.js} +159 -43
- package/dist/assets/{WorkflowActivator-GHyUbwAO.js → WorkflowActivator-CFE8HnEQ.js} +3 -7
- package/dist/assets/{WorkflowExecutionsInfoAccordion-Dez7kHwM.js → WorkflowExecutionsInfoAccordion-j1oBChRL.js} +1 -3
- package/dist/assets/{WorkflowExecutionsLandingPage-j7sS9stL.js → WorkflowExecutionsLandingPage-7PqoziUe.js} +2 -32
- package/dist/assets/{WorkflowExecutionsPreview-DLogApYK.js → WorkflowExecutionsPreview-BCKc44DY.js} +10 -42
- package/dist/assets/{WorkflowExecutionsView-CZ0E-5CZ.js → WorkflowExecutionsView-De-rqjwc.js} +6 -37
- package/dist/assets/{WorkflowHistory-D6BLJ_QX.js → WorkflowHistory-BQHDI-k-.js} +8 -45
- package/dist/assets/{WorkflowOnboardingView-7Z0s7yrd.js → WorkflowOnboardingView-B3aKS1PJ.js} +1 -31
- package/dist/assets/{WorkflowPreview-C2zFAYYi.js → WorkflowPreview-jblZXN9D.js} +1 -3
- package/dist/assets/{WorkflowsView-CLNYtnzv.js → WorkflowsView-DQqwovww.js} +19 -37
- package/dist/assets/cloud-ChkMgrsu.js +37 -0
- package/dist/assets/{dateFormatter-B-oph3V5.js → dateFormatter-BOFH7hQn.js} +1 -1
- package/dist/assets/index-B5Li9oNe.js +331713 -0
- package/dist/assets/{index-B5Pl_Rdy.css → index-BGyoJ6bM.css} +3941 -8
- package/dist/assets/{pushConnection.store-C38m0a4q.js → pushConnection.store-Cp0wdk-m.js} +3 -3
- package/dist/assets/{templateActions-BDzt5tYG.js → templateActions-DbRugCSY.js} +1 -1
- package/dist/assets/{useBeforeUnload-DAuWtScP.js → useBeforeUnload-HSb2Wsej.js} +1 -2
- package/dist/assets/{useExecutionDebugging-DjezN4ny.js → useExecutionDebugging-Czs7eCHy.js} +1 -2
- package/dist/assets/{usePushConnection-C-AngCFB.js → usePushConnection-CLr2QrgA.js} +12 -17
- package/dist/assets/{useWorkflowActivate-CgGEceEs.js → useWorkflowActivate-D9OoUkBo.js} +1 -2
- package/dist/index.html +2 -33
- package/package.json +1 -1
- package/vite.config.mts +0 -41
- package/dist/assets/@jsplumb/browser-ui-D3WTv2iL.js +0 -5431
- package/dist/assets/@jsplumb/common-Cn2WooAp.js +0 -142
- package/dist/assets/@jsplumb/connector-bezier-BsoOTqok.js +0 -1019
- package/dist/assets/@jsplumb/core-DLCSr9D4.js +0 -7317
- package/dist/assets/@jsplumb/util-DggqnqQo.js +0 -936
- package/dist/assets/@lezer/common-Bs5t-XhT.js +0 -1988
- package/dist/assets/@n8n/api-types-Clq_Leox.js +0 -1
- package/dist/assets/@n8n/codemirror-lang-Bizw8G99.js +0 -20928
- package/dist/assets/@n8n/codemirror-lang-sql-C9sfSTUi.js +0 -14443
- package/dist/assets/@n8n/permissions-BxSXRD9U.js +0 -52
- package/dist/assets/@sentry/vue-By9cUXYj.js +0 -23618
- package/dist/assets/@vue-flow/background-B1J8rodd.js +0 -123
- package/dist/assets/@vue-flow/controls-B4bXJQnK.js +0 -204
- package/dist/assets/@vue-flow/core-tETEFGtP.js +0 -9818
- package/dist/assets/@vue-flow/minimap-CGW7BbeH.js +0 -2951
- package/dist/assets/@vue-flow/node-resizer-C7hxX6Ea.js +0 -1398
- package/dist/assets/@vueuse/core-BTO0AmLR.js +0 -8894
- package/dist/assets/RunDataJsonActions-0J53luAF.js +0 -270
- package/dist/assets/SettingsFakeDoorView-CpouiCJM.js +0 -74
- package/dist/assets/SettingsLdapView-DtUi0T-K.js +0 -746
- package/dist/assets/SignoutView-DN2qdM5U.js +0 -57
- package/dist/assets/aws-secrets-manager-NwVFybsa.svg +0 -18
- package/dist/assets/axios-BW6T4tHC.js +0 -2403
- package/dist/assets/azure-key-vault-DTTl_IR7.svg +0 -23
- package/dist/assets/bowser-CDCHPFWD.js +0 -1931
- package/dist/assets/change-case-Dux1iW35.js +0 -137
- package/dist/assets/chart.js-BYpPl_l4.js +0 -14318
- package/dist/assets/cloud-DJUTi_f-.js +0 -95
- package/dist/assets/codemirror-lang-html-n8n-BElKE4vf.js +0 -2498
- package/dist/assets/dateformat-BevCJF2z.js +0 -208
- package/dist/assets/email-providers-Brdpqw-Z.js +0 -1
- package/dist/assets/esprima-next-DUEu30kB.js +0 -6712
- package/dist/assets/fast-json-stable-stringify-D9R5x91P.js +0 -55
- package/dist/assets/flatted-BLlNkUR-.js +0 -76
- package/dist/assets/gcp-secrets-manager-BcK0Zj6Y.svg +0 -9
- package/dist/assets/hashicorp-5zlHdJCj.webp +0 -0
- package/dist/assets/highlight.js-Brdpqw-Z.js +0 -1
- package/dist/assets/index-DOjaKjUd.js +0 -87778
- package/dist/assets/infisical-Db7VXgLp.webp +0 -0
- package/dist/assets/lodash-es-DCRmYdQ5.js +0 -6061
- package/dist/assets/luxon-N8mghSWH.js +0 -6159
- package/dist/assets/n8n-C6KBCWah.css +0 -4973
- package/dist/assets/n8n-o-6nV4eX.js +0 -163925
- package/dist/assets/pinia-BWzoPyXU.js +0 -1650
- package/dist/assets/prettier-eWLVZldr.js +0 -2294
- package/dist/assets/qrcode.vue-BavVPFUM.js +0 -1132
- package/dist/assets/timeago.js-CgQus8nl.js +0 -116
- package/dist/assets/useUserHelpers-nsswfS_i.js +0 -27
- package/dist/assets/uuid-DRDfXVM2.js +0 -542
- package/dist/assets/v3-infinite-loading-CHlSsXAy.js +0 -114
- package/dist/assets/vendor-D8YCjNHu.js +0 -14463
- package/dist/assets/vue-agile-B2NGbzqY.css +0 -93
- package/dist/assets/vue-agile-Busf3nxn.js +0 -727
- package/dist/assets/vue-chartjs-DBNEiLG-.js +0 -203
- package/dist/assets/vue-i18n-CeifA_Nk.js +0 -5329
- package/dist/assets/vue-json-pretty-DHS8nWi_.js +0 -340
- package/dist/assets/vue3-touch-events-DVOgU3fI.js +0 -301
- package/dist/assets/xss-Brdpqw-Z.js +0 -1
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import { I as defineComponent, an as resolveComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, V as createBlock, a3 as withCtx, a8 as createVNode, a6 as createTextVNode, a7 as toDisplayString, L as createBaseVNode } from "./vendor-D8YCjNHu.js";
|
|
2
|
-
import { s as storeToRefs, m as mapStores } from "./pinia-BWzoPyXU.js";
|
|
3
|
-
import { j as jp } from "./jsonpath--XXuA3UN.js";
|
|
4
|
-
import { eK as nonExistingJsonPath, L as useNDVStore, aj as useNodeHelpers, ae as useClipboard, a8 as usePinnedData, a as useToast, n as useSourceControlStore, k as useWorkflowsStore, a4 as useNodeTypesStore, aQ as clearJsonKey, aJ as executionDataToJson, eS as convertPath, b as useI18n } from "./index-DOjaKjUd.js";
|
|
5
|
-
import { _ as _export_sfc } from "./n8n-o-6nV4eX.js";
|
|
6
|
-
import "./@sentry/vue-By9cUXYj.js";
|
|
7
|
-
import "./axios-BW6T4tHC.js";
|
|
8
|
-
import "./flatted-BLlNkUR-.js";
|
|
9
|
-
import "./bowser-CDCHPFWD.js";
|
|
10
|
-
import "./@vueuse/core-BTO0AmLR.js";
|
|
11
|
-
import "./lodash-es-DCRmYdQ5.js";
|
|
12
|
-
import "./uuid-DRDfXVM2.js";
|
|
13
|
-
import "./dateformat-BevCJF2z.js";
|
|
14
|
-
import "./vue-i18n-CeifA_Nk.js";
|
|
15
|
-
import "./@n8n/permissions-BxSXRD9U.js";
|
|
16
|
-
import "./luxon-N8mghSWH.js";
|
|
17
|
-
import "./@jsplumb/util-DggqnqQo.js";
|
|
18
|
-
import "./@jsplumb/core-DLCSr9D4.js";
|
|
19
|
-
import "./@jsplumb/common-Cn2WooAp.js";
|
|
20
|
-
import "./@jsplumb/connector-bezier-BsoOTqok.js";
|
|
21
|
-
import "./@jsplumb/browser-ui-D3WTv2iL.js";
|
|
22
|
-
import "./@n8n/codemirror-lang-Bizw8G99.js";
|
|
23
|
-
import "./@lezer/common-Bs5t-XhT.js";
|
|
24
|
-
import "./@n8n/codemirror-lang-sql-C9sfSTUi.js";
|
|
25
|
-
import "./prettier-eWLVZldr.js";
|
|
26
|
-
import "./codemirror-lang-html-n8n-BElKE4vf.js";
|
|
27
|
-
import "./esprima-next-DUEu30kB.js";
|
|
28
|
-
import "./fast-json-stable-stringify-D9R5x91P.js";
|
|
29
|
-
import "./timeago.js-CgQus8nl.js";
|
|
30
|
-
import "./qrcode.vue-BavVPFUM.js";
|
|
31
|
-
import "./vue3-touch-events-DVOgU3fI.js";
|
|
32
|
-
import "./chart.js-BYpPl_l4.js";
|
|
33
|
-
const _sfc_main = defineComponent({
|
|
34
|
-
name: "RunDataJsonActions",
|
|
35
|
-
props: {
|
|
36
|
-
node: {
|
|
37
|
-
type: Object,
|
|
38
|
-
required: true
|
|
39
|
-
},
|
|
40
|
-
paneType: {
|
|
41
|
-
type: String
|
|
42
|
-
},
|
|
43
|
-
pushRef: {
|
|
44
|
-
type: String
|
|
45
|
-
},
|
|
46
|
-
currentOutputIndex: {
|
|
47
|
-
type: Number
|
|
48
|
-
},
|
|
49
|
-
runIndex: {
|
|
50
|
-
type: Number
|
|
51
|
-
},
|
|
52
|
-
displayMode: {
|
|
53
|
-
type: String
|
|
54
|
-
},
|
|
55
|
-
distanceFromActive: {
|
|
56
|
-
type: Number
|
|
57
|
-
},
|
|
58
|
-
selectedJsonPath: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: nonExistingJsonPath
|
|
61
|
-
},
|
|
62
|
-
jsonData: {
|
|
63
|
-
type: Array,
|
|
64
|
-
required: true
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
setup() {
|
|
68
|
-
const ndvStore = useNDVStore();
|
|
69
|
-
const i18n = useI18n();
|
|
70
|
-
const nodeHelpers = useNodeHelpers();
|
|
71
|
-
const clipboard = useClipboard();
|
|
72
|
-
const { activeNode } = storeToRefs(ndvStore);
|
|
73
|
-
const pinnedData = usePinnedData(activeNode);
|
|
74
|
-
return {
|
|
75
|
-
i18n,
|
|
76
|
-
nodeHelpers,
|
|
77
|
-
clipboard,
|
|
78
|
-
pinnedData,
|
|
79
|
-
...useToast()
|
|
80
|
-
};
|
|
81
|
-
},
|
|
82
|
-
computed: {
|
|
83
|
-
...mapStores(useNodeTypesStore, useNDVStore, useWorkflowsStore, useSourceControlStore),
|
|
84
|
-
isReadOnlyRoute() {
|
|
85
|
-
var _a, _b;
|
|
86
|
-
return ((_b = (_a = this.$route) == null ? void 0 : _a.meta) == null ? void 0 : _b.readOnlyCanvas) === true;
|
|
87
|
-
},
|
|
88
|
-
activeNode() {
|
|
89
|
-
return this.ndvStore.activeNode;
|
|
90
|
-
},
|
|
91
|
-
noSelection() {
|
|
92
|
-
return this.selectedJsonPath === nonExistingJsonPath;
|
|
93
|
-
},
|
|
94
|
-
normalisedJsonPath() {
|
|
95
|
-
return this.noSelection ? '[""]' : this.selectedJsonPath;
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
methods: {
|
|
99
|
-
getJsonValue() {
|
|
100
|
-
let selectedValue = jp.query(this.jsonData, `$${this.normalisedJsonPath}`)[0];
|
|
101
|
-
if (this.noSelection) {
|
|
102
|
-
const inExecutionsFrame = window !== window.parent && window.parent.location.pathname.includes("/executions");
|
|
103
|
-
if (this.pinnedData.hasData.value && !inExecutionsFrame) {
|
|
104
|
-
selectedValue = clearJsonKey(this.pinnedData.data.value);
|
|
105
|
-
} else {
|
|
106
|
-
selectedValue = executionDataToJson(
|
|
107
|
-
this.nodeHelpers.getNodeInputData(this.node, this.runIndex, this.currentOutputIndex)
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
let value = "";
|
|
112
|
-
if (typeof selectedValue === "object") {
|
|
113
|
-
value = JSON.stringify(selectedValue, null, 2);
|
|
114
|
-
} else {
|
|
115
|
-
value = selectedValue.toString();
|
|
116
|
-
}
|
|
117
|
-
return value;
|
|
118
|
-
},
|
|
119
|
-
getJsonItemPath() {
|
|
120
|
-
const newPath = convertPath(this.normalisedJsonPath);
|
|
121
|
-
let startPath = "";
|
|
122
|
-
let path = "";
|
|
123
|
-
const pathParts = newPath.split("]");
|
|
124
|
-
const index = pathParts[0].slice(1);
|
|
125
|
-
path = pathParts.slice(1).join("]");
|
|
126
|
-
startPath = `$item(${index}).$node["${this.node.name}"].json`;
|
|
127
|
-
return { path, startPath };
|
|
128
|
-
},
|
|
129
|
-
getJsonParameterPath() {
|
|
130
|
-
const newPath = convertPath(this.normalisedJsonPath);
|
|
131
|
-
const path = newPath.split("]").slice(1).join("]");
|
|
132
|
-
let startPath = `$node["${this.node.name}"].json`;
|
|
133
|
-
if (this.distanceFromActive === 1) {
|
|
134
|
-
startPath = "$json";
|
|
135
|
-
}
|
|
136
|
-
return { path, startPath };
|
|
137
|
-
},
|
|
138
|
-
handleCopyClick(commandData) {
|
|
139
|
-
var _a;
|
|
140
|
-
let value;
|
|
141
|
-
if (commandData.command === "value") {
|
|
142
|
-
value = this.getJsonValue();
|
|
143
|
-
this.showToast({
|
|
144
|
-
title: this.i18n.baseText("runData.copyValue.toast"),
|
|
145
|
-
message: "",
|
|
146
|
-
type: "success",
|
|
147
|
-
duration: 2e3
|
|
148
|
-
});
|
|
149
|
-
} else {
|
|
150
|
-
let startPath = "";
|
|
151
|
-
let path = "";
|
|
152
|
-
if (commandData.command === "itemPath") {
|
|
153
|
-
const jsonItemPath = this.getJsonItemPath();
|
|
154
|
-
startPath = jsonItemPath.startPath;
|
|
155
|
-
path = jsonItemPath.path;
|
|
156
|
-
this.showToast({
|
|
157
|
-
title: this.i18n.baseText("runData.copyItemPath.toast"),
|
|
158
|
-
message: "",
|
|
159
|
-
type: "success",
|
|
160
|
-
duration: 2e3
|
|
161
|
-
});
|
|
162
|
-
} else if (commandData.command === "parameterPath") {
|
|
163
|
-
const jsonParameterPath = this.getJsonParameterPath();
|
|
164
|
-
startPath = jsonParameterPath.startPath;
|
|
165
|
-
path = jsonParameterPath.path;
|
|
166
|
-
this.showToast({
|
|
167
|
-
title: this.i18n.baseText("runData.copyParameterPath.toast"),
|
|
168
|
-
message: "",
|
|
169
|
-
type: "success",
|
|
170
|
-
duration: 2e3
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
if (!path.startsWith("[") && !path.startsWith(".") && path) {
|
|
174
|
-
path += ".";
|
|
175
|
-
}
|
|
176
|
-
value = `{{ ${startPath + path} }}`;
|
|
177
|
-
}
|
|
178
|
-
const copyType = {
|
|
179
|
-
value: "selection",
|
|
180
|
-
itemPath: "item_path",
|
|
181
|
-
parameterPath: "parameter_path"
|
|
182
|
-
}[commandData.command];
|
|
183
|
-
this.$telemetry.track("User copied ndv data", {
|
|
184
|
-
node_type: (_a = this.activeNode) == null ? void 0 : _a.type,
|
|
185
|
-
push_ref: this.pushRef,
|
|
186
|
-
run_index: this.runIndex,
|
|
187
|
-
view: "json",
|
|
188
|
-
copy_type: copyType,
|
|
189
|
-
workflow_id: this.workflowsStore.workflowId,
|
|
190
|
-
pane: this.paneType,
|
|
191
|
-
in_execution_log: this.isReadOnlyRoute
|
|
192
|
-
});
|
|
193
|
-
void this.clipboard.copy(value);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
const actionsGroup = "_actionsGroup_wlnwy_1";
|
|
198
|
-
const style0 = {
|
|
199
|
-
actionsGroup
|
|
200
|
-
};
|
|
201
|
-
const _hoisted_1 = { class: "el-dropdown-link" };
|
|
202
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
203
|
-
const _component_n8n_icon_button = resolveComponent("n8n-icon-button");
|
|
204
|
-
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
205
|
-
const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
|
|
206
|
-
const _component_el_dropdown = resolveComponent("el-dropdown");
|
|
207
|
-
return openBlock(), createElementBlock("div", {
|
|
208
|
-
class: normalizeClass(_ctx.$style.actionsGroup)
|
|
209
|
-
}, [
|
|
210
|
-
_ctx.noSelection ? (openBlock(), createBlock(_component_n8n_icon_button, {
|
|
211
|
-
key: 0,
|
|
212
|
-
title: _ctx.i18n.baseText("runData.copyToClipboard"),
|
|
213
|
-
icon: "copy",
|
|
214
|
-
type: "tertiary",
|
|
215
|
-
circle: false,
|
|
216
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.handleCopyClick({ command: "value" }))
|
|
217
|
-
}, null, 8, ["title"])) : (openBlock(), createBlock(_component_el_dropdown, {
|
|
218
|
-
key: 1,
|
|
219
|
-
trigger: "click",
|
|
220
|
-
onCommand: _ctx.handleCopyClick
|
|
221
|
-
}, {
|
|
222
|
-
dropdown: withCtx(() => [
|
|
223
|
-
createVNode(_component_el_dropdown_menu, null, {
|
|
224
|
-
default: withCtx(() => [
|
|
225
|
-
createVNode(_component_el_dropdown_item, { command: { command: "value" } }, {
|
|
226
|
-
default: withCtx(() => [
|
|
227
|
-
createTextVNode(toDisplayString(_ctx.i18n.baseText("runData.copyValue")), 1)
|
|
228
|
-
]),
|
|
229
|
-
_: 1
|
|
230
|
-
}),
|
|
231
|
-
createVNode(_component_el_dropdown_item, {
|
|
232
|
-
command: { command: "itemPath" },
|
|
233
|
-
divided: ""
|
|
234
|
-
}, {
|
|
235
|
-
default: withCtx(() => [
|
|
236
|
-
createTextVNode(toDisplayString(_ctx.i18n.baseText("runData.copyItemPath")), 1)
|
|
237
|
-
]),
|
|
238
|
-
_: 1
|
|
239
|
-
}),
|
|
240
|
-
createVNode(_component_el_dropdown_item, { command: { command: "parameterPath" } }, {
|
|
241
|
-
default: withCtx(() => [
|
|
242
|
-
createTextVNode(toDisplayString(_ctx.i18n.baseText("runData.copyParameterPath")), 1)
|
|
243
|
-
]),
|
|
244
|
-
_: 1
|
|
245
|
-
})
|
|
246
|
-
]),
|
|
247
|
-
_: 1
|
|
248
|
-
})
|
|
249
|
-
]),
|
|
250
|
-
default: withCtx(() => [
|
|
251
|
-
createBaseVNode("span", _hoisted_1, [
|
|
252
|
-
createVNode(_component_n8n_icon_button, {
|
|
253
|
-
title: _ctx.i18n.baseText("runData.copyToClipboard"),
|
|
254
|
-
icon: "copy",
|
|
255
|
-
type: "tertiary",
|
|
256
|
-
circle: false
|
|
257
|
-
}, null, 8, ["title"])
|
|
258
|
-
])
|
|
259
|
-
]),
|
|
260
|
-
_: 1
|
|
261
|
-
}, 8, ["onCommand"]))
|
|
262
|
-
], 2);
|
|
263
|
-
}
|
|
264
|
-
const cssModules = {
|
|
265
|
-
"$style": style0
|
|
266
|
-
};
|
|
267
|
-
const RunDataJsonActions = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__cssModules", cssModules]]);
|
|
268
|
-
export {
|
|
269
|
-
RunDataJsonActions as default
|
|
270
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { dK as __unplugin_components_0, f as useUIStore } from "./index-DOjaKjUd.js";
|
|
2
|
-
import { I as defineComponent, J as openBlock, V as createBlock } from "./vendor-D8YCjNHu.js";
|
|
3
|
-
import { m as mapStores } from "./pinia-BWzoPyXU.js";
|
|
4
|
-
import { _ as _export_sfc } from "./n8n-o-6nV4eX.js";
|
|
5
|
-
import "./@sentry/vue-By9cUXYj.js";
|
|
6
|
-
import "./axios-BW6T4tHC.js";
|
|
7
|
-
import "./flatted-BLlNkUR-.js";
|
|
8
|
-
import "./bowser-CDCHPFWD.js";
|
|
9
|
-
import "./@vueuse/core-BTO0AmLR.js";
|
|
10
|
-
import "./lodash-es-DCRmYdQ5.js";
|
|
11
|
-
import "./uuid-DRDfXVM2.js";
|
|
12
|
-
import "./dateformat-BevCJF2z.js";
|
|
13
|
-
import "./vue-i18n-CeifA_Nk.js";
|
|
14
|
-
import "./@n8n/permissions-BxSXRD9U.js";
|
|
15
|
-
import "./luxon-N8mghSWH.js";
|
|
16
|
-
import "./@jsplumb/util-DggqnqQo.js";
|
|
17
|
-
import "./@jsplumb/core-DLCSr9D4.js";
|
|
18
|
-
import "./@jsplumb/common-Cn2WooAp.js";
|
|
19
|
-
import "./@jsplumb/connector-bezier-BsoOTqok.js";
|
|
20
|
-
import "./@jsplumb/browser-ui-D3WTv2iL.js";
|
|
21
|
-
import "./@n8n/codemirror-lang-Bizw8G99.js";
|
|
22
|
-
import "./@lezer/common-Bs5t-XhT.js";
|
|
23
|
-
import "./@n8n/codemirror-lang-sql-C9sfSTUi.js";
|
|
24
|
-
import "./prettier-eWLVZldr.js";
|
|
25
|
-
import "./codemirror-lang-html-n8n-BElKE4vf.js";
|
|
26
|
-
import "./esprima-next-DUEu30kB.js";
|
|
27
|
-
import "./fast-json-stable-stringify-D9R5x91P.js";
|
|
28
|
-
import "./timeago.js-CgQus8nl.js";
|
|
29
|
-
import "./qrcode.vue-BavVPFUM.js";
|
|
30
|
-
import "./vue3-touch-events-DVOgU3fI.js";
|
|
31
|
-
import "./chart.js-BYpPl_l4.js";
|
|
32
|
-
const _sfc_main = defineComponent({
|
|
33
|
-
name: "SettingsFakeDoorView",
|
|
34
|
-
components: {
|
|
35
|
-
FeatureComingSoon: __unplugin_components_0
|
|
36
|
-
},
|
|
37
|
-
props: {
|
|
38
|
-
featureId: {
|
|
39
|
-
type: String,
|
|
40
|
-
required: true
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
computed: {
|
|
44
|
-
...mapStores(useUIStore),
|
|
45
|
-
featureInfo() {
|
|
46
|
-
return this.uiStore.fakeDoorsById[this.featureId];
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
methods: {
|
|
50
|
-
openLinkPage() {
|
|
51
|
-
if (this.featureInfo) {
|
|
52
|
-
window.open(this.featureInfo.linkURL, "_blank");
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
const header = "_header_fa9t3_1";
|
|
58
|
-
const style0 = {
|
|
59
|
-
header
|
|
60
|
-
};
|
|
61
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62
|
-
const _component_FeatureComingSoon = __unplugin_components_0;
|
|
63
|
-
return openBlock(), createBlock(_component_FeatureComingSoon, {
|
|
64
|
-
"feature-id": _ctx.featureId,
|
|
65
|
-
"show-title": ""
|
|
66
|
-
}, null, 8, ["feature-id"]);
|
|
67
|
-
}
|
|
68
|
-
const cssModules = {
|
|
69
|
-
"$style": style0
|
|
70
|
-
};
|
|
71
|
-
const SettingsFakeDoorView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__cssModules", cssModules]]);
|
|
72
|
-
export {
|
|
73
|
-
SettingsFakeDoorView as default
|
|
74
|
-
};
|