n8n-editor-ui 1.67.0 → 1.68.1
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/{AuthView-DmC24d7S.js → AuthView-CVb7TJSd.js} +1 -1
- package/dist/assets/CanvasChat-BMk9MWgs.js +4166 -0
- package/dist/assets/CanvasChat-DKeWqqZz.css +730 -0
- package/dist/assets/{CanvasControls-BPXQqeeO.js → CanvasControls-Yk4_XYJQ.js} +1 -1
- package/dist/assets/{ChangePasswordView-SC3n2vJc.js → ChangePasswordView-DNdHigRi.js} +2 -2
- package/dist/assets/CollectionParameter-D41BcLWH.js +4 -0
- package/dist/assets/{CredentialsView-B3m9CpEC.js → CredentialsView-J-xOpbpA.js} +5 -6
- package/dist/assets/{ErrorView-D6M8WlVP.js → ErrorView-BtsxZO1X.js} +1 -1
- package/dist/assets/{ExecutionsFilter-DlZH8tDW.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-CyuSP3Dh.js} +41 -41
- package/dist/assets/{ExecutionsView-DaHtYmF4.js → ExecutionsView-C2Rb4ZWz.js} +26 -31
- package/dist/assets/{ExecutionsView-Dfy6JMwb.css → ExecutionsView-DlxsqdiC.css} +44 -38
- package/dist/assets/{FileSaver.min-DNytcjKT.js → FileSaver.min-BjmMGbea.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-CypxYAFK.js → FixedCollectionParameter-VmYo3PL-.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-BJ6gd5CS.js → ForgotMyPasswordView-D0oUoVQk.js} +2 -2
- package/dist/assets/{MainHeader-DniXcGMK.js → MainHeader-CRLrXCio.js} +111 -28
- package/dist/assets/{MainHeader-D56WYRMG.css → MainHeader-DJdd17Nh.css} +27 -2
- package/dist/assets/{MainSidebar-NwOfijmV.js → MainSidebar-CPGBmQ2h.js} +2 -9
- package/dist/assets/{NodeCreation-Ce1ct2i3.js → NodeCreation-DP-aW4g1.js} +12 -9
- package/dist/assets/{NodeCreator-DMLTbzAt.js → NodeCreator-Dr6gHEkB.js} +55 -54
- package/dist/assets/{NodeViewSwitcher-B9JUn3eY.js → NodeViewSwitcher-Bg192dfN.js} +2509 -2633
- package/dist/assets/{NodeViewSwitcher-CnP5aYyg.css → NodeViewSwitcher-DuVIKqpm.css} +108 -107
- package/dist/assets/{ProjectCardBadge-C3QU-WmO.js → ProjectCardBadge-CMY_LIZA.js} +1 -1
- package/dist/assets/{ResourceListHeader-DgE1VPUF.css → ProjectHeader-09VQWBZH.css} +5 -3
- package/dist/assets/ProjectHeader-Bb0FunlL.js +196 -0
- package/dist/assets/{ProjectSettings-BvcEg3hx.js → ProjectSettings-Luijz21w.js} +5 -34
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DlJOpf7N.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BsYnH5Dp.js} +1 -1
- package/dist/assets/{ResourcesListLayout-Ci-K1bH3.css → ResourcesListLayout-CuA8O7do.css} +8 -8
- package/dist/assets/{ResourcesListLayout-Bc4__nvw.js → ResourcesListLayout-DkU4cwHh.js} +2 -32
- package/dist/assets/{RunDataJson-ea5u1EeD.js → RunDataJson-DC2cn20i.js} +12 -12
- package/dist/assets/{RunDataJsonActions-Dflnt8gK.js → RunDataJsonActions-Bn0kkV0k.js} +2 -1
- package/dist/assets/{RunDataSearch-DKNVmEqa.js → RunDataSearch-Ba2DqjJd.js} +2 -2
- package/dist/assets/RunDataTable-B5dCfxC7.js +564 -0
- package/dist/assets/{SamlOnboarding-CPvGRYUg.js → SamlOnboarding-DX6vYyJJ.js} +2 -2
- package/dist/assets/{SettingsApiView-BFj9fDL9.js → SettingsApiView-B1U3DPus.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-nJFDrtIR.js → SettingsCommunityNodesView-DDT90Pg5.js} +3 -3
- package/dist/assets/{SettingsExternalSecrets-0-mj45K-.js → SettingsExternalSecrets-B7yrrkIB.js} +1 -1
- package/dist/assets/{SettingsLdapView-BhBxX72w.js → SettingsLdapView-BUpGsV_P.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-CmEJrEOv.js → SettingsLogStreamingView-D2DSI-Lv.js} +1 -1
- package/dist/assets/{SettingsPersonalView-C__lC8Vv.js → SettingsPersonalView-OmmJuXrb.js} +1 -1
- package/dist/assets/{SettingsSourceControl-CMoS5B5P.js → SettingsSourceControl-C0dSjfRG.js} +1 -1
- package/dist/assets/{SettingsSso-DJfrl1Rl.js → SettingsSso-DaWZ5LEZ.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-CWQ5uVrG.js → SettingsUsageAndPlan-BSHhZ_dW.js} +1 -1
- package/dist/assets/{SettingsUsersView-Cvr6Digb.js → SettingsUsersView-DHGG452i.js} +1 -1
- package/dist/assets/{SettingsView-DtGga45F.js → SettingsView-CxnuEPNL.js} +1 -1
- package/dist/assets/{SetupView-DkJH96By.js → SetupView-DqjzpwwU.js} +2 -2
- package/dist/assets/{SetupWorkflowCredentialsButton-C1Jv_-V5.js → SetupWorkflowCredentialsButton-DPwPtU12.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-WSzVMgC4.js → SetupWorkflowFromTemplateView-DJJROuu3.js} +3 -3
- package/dist/assets/{SigninView-xej8y-Vu.js → SigninView-BVFtq-2J.js} +2 -2
- package/dist/assets/{SignoutView-Dc8fBBIm.js → SignoutView-gby6UeGY.js} +1 -1
- package/dist/assets/{SignupView-CKA28Xc8.js → SignupView-BWAaJlGd.js} +2 -2
- package/dist/assets/{TemplateDetails-Pi49rFlS.js → TemplateDetails-Bfs2kkws.js} +1 -1
- package/dist/assets/{TemplateList-BncQL783.js → TemplateList-BS2Fw__b.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-C9PKPo5y.js → TemplatesCollectionView-Rli1bmvV.js} +7 -7
- package/dist/assets/{TemplatesSearchView-65taIL-M.js → TemplatesSearchView-BNrgIFb5.js} +3 -3
- package/dist/assets/{TemplatesView-DkP9JWHk.js → TemplatesView-B5ZVm_dO.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-B5uc0BtL.js → TemplatesWorkflowView-B3PrX47Z.js} +5 -5
- package/dist/assets/{VariablesView-DV1-KgmN.js → VariablesView-Cni61oK7.js} +2 -3
- package/dist/assets/WorkerView-CVk9_v-i.js +787 -0
- package/dist/assets/WorkerView-C_d54L0W.css +181 -0
- package/dist/assets/{WorkflowActivator-Dc_Un-Af.js → WorkflowActivator-DpNfU8S2.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BLyC6lr5.js → WorkflowExecutionsInfoAccordion-CvdeOIyp.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-Dsa6Bgkn.js → WorkflowExecutionsLandingPage-D92KorlC.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-B_X-enUV.js → WorkflowExecutionsPreview-C3X1cQ2N.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-Bkz3Sig-.js → WorkflowExecutionsView-CRUra874.js} +6 -6
- package/dist/assets/{WorkflowExecutionsView-B8x2-iOd.css → WorkflowExecutionsView-CZKkPKqJ.css} +9 -1
- package/dist/assets/{WorkflowHistory-BiPMooAv.js → WorkflowHistory-Cxm0Fasa.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-XHuS6lCs.js → WorkflowOnboardingView-Chk-ANFv.js} +1 -1
- package/dist/assets/{WorkflowPreview-DxZKd23H.js → WorkflowPreview-Ds6TtYEJ.js} +1 -1
- package/dist/assets/{WorkflowsView-BBaLVqJs.js → WorkflowsView-BkOCTGrW.js} +7 -8
- package/dist/assets/buttons.esm-BOkmSohe.js +477 -0
- package/dist/assets/{dateFormatter-C53K7zEn.js → dateFormatter-DbqvzAoe.js} +1 -1
- package/dist/assets/{index-7YFQEQmt.js → index-KRTOiXIE.js} +96365 -102013
- package/dist/assets/{index-BFH_KxyA.css → index-r43k-wiC.css} +175 -651
- package/dist/assets/{pushConnection.store-DbprXL-x.js → pushConnection.store-BaeC9SL1.js} +1 -1
- package/dist/assets/{templateActions-QFQD8amJ.js → templateActions-C6LE7tmr.js} +1 -1
- package/dist/assets/{useBugReporting-IgwBNdXI.js → useBugReporting-DAqKvmOS.js} +1 -1
- package/dist/assets/{useExecutionDebugging-CLORI_Ma.js → useExecutionDebugging-B5hEDeUo.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbabN_I2.js → useExecutionHelpers-BnMndkLB.js} +55 -55
- package/dist/assets/{useNodeViewVersionSwitcher-CJLQ5lju.js → useNodeViewVersionSwitcher-DPTYc7jG.js} +1 -1
- package/dist/assets/{usePushConnection-DjPgTuLw.js → usePushConnection-DtjYN_M-.js} +7 -6
- package/dist/assets/useRunWorkflow-3NXGqc8M.js +3710 -0
- package/dist/assets/{RunDataAi-x30tU8-0.css → useRunWorkflow-DH7ZzA8t.css} +97 -57
- package/dist/assets/{useWorkflowActivate-D_gK841h.js → useWorkflowActivate-DP_90b8S.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-Odk28FRT.js +0 -4
- package/dist/assets/ProjectTabs-DjoIePoM.css +0 -3
- package/dist/assets/ProjectTabs-Dve3xFj9.js +0 -88
- package/dist/assets/ResourceListHeader-B2sxe6HT.js +0 -66
- package/dist/assets/RunDataAi-BKu1beM6.js +0 -1539
- package/dist/assets/RunDataTable-DISLWxMc.js +0 -608
- package/dist/assets/WorkerView-5P9lg6ew.js +0 -148
- package/dist/assets/WorkerView-Dm0b18Mh.css +0 -22
- /package/dist/assets/{ExecutionsFilter-DVxRt-Pz.css → ExecutionsTime-DVxRt-Pz.css} +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
.
|
|
1
|
+
._projectTabs_1nw28_1 {
|
|
2
|
+
padding: var(--spacing-2xs) 0 var(--spacing-l);
|
|
3
|
+
}._projectHeader_13qlt_1 {
|
|
2
4
|
display: -webkit-box;
|
|
3
5
|
display: -ms-flexbox;
|
|
4
6
|
display: flex;
|
|
@@ -9,11 +11,11 @@
|
|
|
9
11
|
padding-bottom: var(--spacing-m);
|
|
10
12
|
min-height: 64px;
|
|
11
13
|
}
|
|
12
|
-
.
|
|
14
|
+
._icon_13qlt_9 {
|
|
13
15
|
border: 1px solid var(--color-foreground-light);
|
|
14
16
|
padding: 6px;
|
|
15
17
|
border-radius: var(--border-radius-base);
|
|
16
18
|
}
|
|
17
|
-
.
|
|
19
|
+
._actions_13qlt_15 {
|
|
18
20
|
margin-left: auto;
|
|
19
21
|
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { d as defineComponent, U as useRoute, r as ref, p as computed, H as watch, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, l as resolveComponent, V as VIEWS, g as useI18n, _ as _export_sfc, a1 as useProjectsStore, j as createBaseVNode, w as withCtx, k as createTextVNode, t as toDisplayString, e as createBlock, q as renderSlot, f as createCommentVNode, dZ as ProjectTypes, am as getResourcePermissions } from "./index-KRTOiXIE.js";
|
|
2
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "ProjectTabs",
|
|
4
|
+
props: {
|
|
5
|
+
showSettings: { type: Boolean }
|
|
6
|
+
},
|
|
7
|
+
setup(__props) {
|
|
8
|
+
const props = __props;
|
|
9
|
+
const locale = useI18n();
|
|
10
|
+
const route = useRoute();
|
|
11
|
+
const selectedTab = ref("");
|
|
12
|
+
const options = computed(() => {
|
|
13
|
+
var _a;
|
|
14
|
+
const projectId = (_a = route == null ? void 0 : route.params) == null ? void 0 : _a.projectId;
|
|
15
|
+
const to = projectId ? {
|
|
16
|
+
workflows: {
|
|
17
|
+
name: VIEWS.PROJECTS_WORKFLOWS,
|
|
18
|
+
params: { projectId }
|
|
19
|
+
},
|
|
20
|
+
credentials: {
|
|
21
|
+
name: VIEWS.PROJECTS_CREDENTIALS,
|
|
22
|
+
params: { projectId }
|
|
23
|
+
},
|
|
24
|
+
executions: {
|
|
25
|
+
name: VIEWS.PROJECTS_EXECUTIONS,
|
|
26
|
+
params: { projectId }
|
|
27
|
+
}
|
|
28
|
+
} : {
|
|
29
|
+
workflows: {
|
|
30
|
+
name: VIEWS.WORKFLOWS
|
|
31
|
+
},
|
|
32
|
+
credentials: {
|
|
33
|
+
name: VIEWS.CREDENTIALS
|
|
34
|
+
},
|
|
35
|
+
executions: {
|
|
36
|
+
name: VIEWS.EXECUTIONS
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const tabs = [
|
|
40
|
+
{
|
|
41
|
+
label: locale.baseText("mainSidebar.workflows"),
|
|
42
|
+
value: to.workflows.name,
|
|
43
|
+
to: to.workflows
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: locale.baseText("mainSidebar.credentials"),
|
|
47
|
+
value: to.credentials.name,
|
|
48
|
+
to: to.credentials
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
label: locale.baseText("mainSidebar.executions"),
|
|
52
|
+
value: to.executions.name,
|
|
53
|
+
to: to.executions
|
|
54
|
+
}
|
|
55
|
+
];
|
|
56
|
+
if (props.showSettings) {
|
|
57
|
+
tabs.push({
|
|
58
|
+
label: locale.baseText("projects.settings"),
|
|
59
|
+
value: VIEWS.PROJECT_SETTINGS,
|
|
60
|
+
to: { name: VIEWS.PROJECT_SETTINGS, params: { projectId } }
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
return tabs;
|
|
64
|
+
});
|
|
65
|
+
watch(
|
|
66
|
+
() => route == null ? void 0 : route.name,
|
|
67
|
+
() => {
|
|
68
|
+
selectedTab.value = route == null ? void 0 : route.name;
|
|
69
|
+
},
|
|
70
|
+
{ immediate: true }
|
|
71
|
+
);
|
|
72
|
+
return (_ctx, _cache) => {
|
|
73
|
+
const _component_N8nTabs = resolveComponent("N8nTabs");
|
|
74
|
+
return openBlock(), createElementBlock("div", {
|
|
75
|
+
class: normalizeClass(_ctx.$style.projectTabs)
|
|
76
|
+
}, [
|
|
77
|
+
createVNode(_component_N8nTabs, {
|
|
78
|
+
modelValue: selectedTab.value,
|
|
79
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedTab.value = $event),
|
|
80
|
+
options: options.value,
|
|
81
|
+
"data-test-id": "project-tabs"
|
|
82
|
+
}, null, 8, ["modelValue", "options"])
|
|
83
|
+
], 2);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
const projectTabs = "_projectTabs_1nw28_1";
|
|
88
|
+
const style0$1 = {
|
|
89
|
+
projectTabs
|
|
90
|
+
};
|
|
91
|
+
const cssModules$1 = {
|
|
92
|
+
"$style": style0$1
|
|
93
|
+
};
|
|
94
|
+
const ProjectTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
|
|
95
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
96
|
+
__name: "ProjectHeader",
|
|
97
|
+
setup(__props) {
|
|
98
|
+
const route = useRoute();
|
|
99
|
+
const i18n = useI18n();
|
|
100
|
+
const projectsStore = useProjectsStore();
|
|
101
|
+
const headerIcon = computed(() => {
|
|
102
|
+
var _a, _b;
|
|
103
|
+
if (((_a = projectsStore.currentProject) == null ? void 0 : _a.type) === ProjectTypes.Personal) {
|
|
104
|
+
return "user";
|
|
105
|
+
} else if ((_b = projectsStore.currentProject) == null ? void 0 : _b.name) {
|
|
106
|
+
return "layer-group";
|
|
107
|
+
} else {
|
|
108
|
+
return "home";
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
const projectName = computed(() => {
|
|
112
|
+
if (!projectsStore.currentProject) {
|
|
113
|
+
return i18n.baseText("projects.menu.home");
|
|
114
|
+
} else if (projectsStore.currentProject.type === ProjectTypes.Personal) {
|
|
115
|
+
return i18n.baseText("projects.menu.personal");
|
|
116
|
+
} else {
|
|
117
|
+
return projectsStore.currentProject.name;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
const projectPermissions = computed(
|
|
121
|
+
() => {
|
|
122
|
+
var _a;
|
|
123
|
+
return getResourcePermissions((_a = projectsStore.currentProject) == null ? void 0 : _a.scopes).project;
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
const showSettings = computed(
|
|
127
|
+
() => {
|
|
128
|
+
var _a, _b;
|
|
129
|
+
return !!((_a = route == null ? void 0 : route.params) == null ? void 0 : _a.projectId) && !!projectPermissions.value.update && ((_b = projectsStore.currentProject) == null ? void 0 : _b.type) === ProjectTypes.Team;
|
|
130
|
+
}
|
|
131
|
+
);
|
|
132
|
+
return (_ctx, _cache) => {
|
|
133
|
+
const _component_N8nIcon = resolveComponent("N8nIcon");
|
|
134
|
+
const _component_N8nHeading = resolveComponent("N8nHeading");
|
|
135
|
+
const _component_N8nText = resolveComponent("N8nText");
|
|
136
|
+
return openBlock(), createElementBlock("div", null, [
|
|
137
|
+
createBaseVNode("div", {
|
|
138
|
+
class: normalizeClass([_ctx.$style.projectHeader])
|
|
139
|
+
}, [
|
|
140
|
+
createBaseVNode("div", {
|
|
141
|
+
class: normalizeClass([_ctx.$style.icon])
|
|
142
|
+
}, [
|
|
143
|
+
createVNode(_component_N8nIcon, {
|
|
144
|
+
icon: headerIcon.value,
|
|
145
|
+
color: "text-light"
|
|
146
|
+
}, null, 8, ["icon"])
|
|
147
|
+
], 2),
|
|
148
|
+
createBaseVNode("div", null, [
|
|
149
|
+
createVNode(_component_N8nHeading, {
|
|
150
|
+
bold: "",
|
|
151
|
+
tag: "h2",
|
|
152
|
+
size: "xlarge"
|
|
153
|
+
}, {
|
|
154
|
+
default: withCtx(() => [
|
|
155
|
+
createTextVNode(toDisplayString(projectName.value), 1)
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
}),
|
|
159
|
+
_ctx.$slots.subtitle ? (openBlock(), createBlock(_component_N8nText, {
|
|
160
|
+
key: 0,
|
|
161
|
+
size: "small",
|
|
162
|
+
color: "text-light"
|
|
163
|
+
}, {
|
|
164
|
+
default: withCtx(() => [
|
|
165
|
+
renderSlot(_ctx.$slots, "subtitle")
|
|
166
|
+
]),
|
|
167
|
+
_: 3
|
|
168
|
+
})) : createCommentVNode("", true)
|
|
169
|
+
]),
|
|
170
|
+
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", {
|
|
171
|
+
key: 0,
|
|
172
|
+
class: normalizeClass([_ctx.$style.actions])
|
|
173
|
+
}, [
|
|
174
|
+
renderSlot(_ctx.$slots, "actions")
|
|
175
|
+
], 2)) : createCommentVNode("", true)
|
|
176
|
+
], 2),
|
|
177
|
+
createVNode(ProjectTabs, { "show-settings": showSettings.value }, null, 8, ["show-settings"])
|
|
178
|
+
]);
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
const projectHeader = "_projectHeader_13qlt_1";
|
|
183
|
+
const icon = "_icon_13qlt_9";
|
|
184
|
+
const actions = "_actions_13qlt_15";
|
|
185
|
+
const style0 = {
|
|
186
|
+
projectHeader,
|
|
187
|
+
icon,
|
|
188
|
+
actions
|
|
189
|
+
};
|
|
190
|
+
const cssModules = {
|
|
191
|
+
"$style": style0
|
|
192
|
+
};
|
|
193
|
+
const ProjectHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
194
|
+
export {
|
|
195
|
+
ProjectHeader as P
|
|
196
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { P as
|
|
3
|
-
import { R as ResourceListHeader } from "./ResourceListHeader-B2sxe6HT.js";
|
|
1
|
+
import { d as defineComponent, ck as mergeModels, c_ as useModel, r as ref, p as computed, c as openBlock, e as createBlock, w as withCtx, i as createVNode, k as createTextVNode, t as toDisplayString, A as unref, I as withModifiers, j as createBaseVNode, h as createElementBlock, j7 as ProjectSharing, n as normalizeClass, f as createCommentVNode, g as useI18n, l as resolveComponent, _ as _export_sfc, a5 as usePageRedirectionHelper, u as useUsersStore, a1 as useProjectsStore, jo as useRolesStore, aD as useCloudPlanStore, a as useToast, b as useRouter, a3 as useDocumentTitle, H as watch, av as onBeforeMount, o as onMounted, jp as N8nFormInput, F as Fragment, z as renderList, V as VIEWS, e0 as deepCopy, x as nextTick, ak as useTelemetry } from "./index-KRTOiXIE.js";
|
|
2
|
+
import { P as ProjectHeader } from "./ProjectHeader-Bb0FunlL.js";
|
|
4
3
|
const _hoisted_1$2 = { class: "pt-l" };
|
|
5
4
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "ProjectDeleteDialog",
|
|
@@ -414,12 +413,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
414
413
|
var _a;
|
|
415
414
|
try {
|
|
416
415
|
if (projectsStore.currentProject) {
|
|
417
|
-
const
|
|
416
|
+
const projectName = ((_a = projectsStore.currentProject) == null ? void 0 : _a.name) ?? "";
|
|
418
417
|
await projectsStore.deleteProject(projectsStore.currentProject.id, transferId);
|
|
419
418
|
await router.push({ name: VIEWS.HOMEPAGE });
|
|
420
419
|
toast.showMessage({
|
|
421
420
|
title: locale.baseText("projects.settings.delete.successful.title", {
|
|
422
|
-
interpolate: { projectName
|
|
421
|
+
interpolate: { projectName }
|
|
423
422
|
}),
|
|
424
423
|
type: "success"
|
|
425
424
|
});
|
|
@@ -447,25 +446,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
447
446
|
},
|
|
448
447
|
{ immediate: true }
|
|
449
448
|
);
|
|
450
|
-
const headerIcon = computed(() => {
|
|
451
|
-
var _a, _b;
|
|
452
|
-
if (((_a = projectsStore.currentProject) == null ? void 0 : _a.type) === ProjectTypes.Personal) {
|
|
453
|
-
return "user";
|
|
454
|
-
} else if ((_b = projectsStore.currentProject) == null ? void 0 : _b.name) {
|
|
455
|
-
return "layer-group";
|
|
456
|
-
} else {
|
|
457
|
-
return "home";
|
|
458
|
-
}
|
|
459
|
-
});
|
|
460
|
-
const projectName = computed(() => {
|
|
461
|
-
if (!projectsStore.currentProject) {
|
|
462
|
-
return locale.baseText("projects.menu.home");
|
|
463
|
-
} else if (projectsStore.currentProject.type === ProjectTypes.Personal) {
|
|
464
|
-
return locale.baseText("projects.menu.personal");
|
|
465
|
-
} else {
|
|
466
|
-
return projectsStore.currentProject.name;
|
|
467
|
-
}
|
|
468
|
-
});
|
|
469
449
|
onBeforeMount(async () => {
|
|
470
450
|
await usersStore.fetchUsers();
|
|
471
451
|
});
|
|
@@ -487,16 +467,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
487
467
|
createBaseVNode("div", {
|
|
488
468
|
class: normalizeClass(_ctx.$style.header)
|
|
489
469
|
}, [
|
|
490
|
-
createVNode(
|
|
491
|
-
icon: headerIcon.value,
|
|
492
|
-
"data-test-id": "list-layout-header"
|
|
493
|
-
}, {
|
|
494
|
-
title: withCtx(() => [
|
|
495
|
-
createTextVNode(toDisplayString(projectName.value), 1)
|
|
496
|
-
]),
|
|
497
|
-
_: 1
|
|
498
|
-
}, 8, ["icon"]),
|
|
499
|
-
createVNode(ProjectTabs)
|
|
470
|
+
createVNode(ProjectHeader)
|
|
500
471
|
], 2),
|
|
501
472
|
createBaseVNode("form", {
|
|
502
473
|
onSubmit: withModifiers(onSubmit, ["prevent"])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, Z as useRootStore, p as computed, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx,
|
|
1
|
+
import { d as defineComponent, Z as useRootStore, p as computed, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, aw as withDirectives, A as unref, j as createBaseVNode, k as createTextVNode, t as toDisplayString, q as renderSlot, g as useI18n, l as resolveComponent, cD as resolveDirective } from "./index-KRTOiXIE.js";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "push-connection-lost primary-color"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
._datatable_eysnt_30 {
|
|
92
92
|
padding-bottom: var(--spacing-s);
|
|
93
|
-
}.resource-list-loading[data-v-
|
|
93
|
+
}.resource-list-loading[data-v-edd6a4a4] {
|
|
94
94
|
position: relative;
|
|
95
95
|
height: 0;
|
|
96
96
|
width: 100%;
|
|
@@ -98,23 +98,23 @@
|
|
|
98
98
|
/*
|
|
99
99
|
Show the loading skeleton only if the loading takes longer than 300ms
|
|
100
100
|
*/
|
|
101
|
-
-webkit-animation: 0.01s linear 0.3s forwards changeVisibility-
|
|
102
|
-
animation: 0.01s linear 0.3s forwards changeVisibility-
|
|
101
|
+
-webkit-animation: 0.01s linear 0.3s forwards changeVisibility-edd6a4a4;
|
|
102
|
+
animation: 0.01s linear 0.3s forwards changeVisibility-edd6a4a4;
|
|
103
103
|
}
|
|
104
|
-
.resource-list-loading[data-v-
|
|
104
|
+
.resource-list-loading[data-v-edd6a4a4] .el-skeleton {
|
|
105
105
|
position: absolute;
|
|
106
106
|
height: 100%;
|
|
107
107
|
width: 100%;
|
|
108
108
|
overflow: hidden;
|
|
109
109
|
}
|
|
110
|
-
.resource-list-loading[data-v-
|
|
110
|
+
.resource-list-loading[data-v-edd6a4a4] .el-skeleton > div > div:first-child .el-skeleton__item {
|
|
111
111
|
height: 42px;
|
|
112
112
|
margin: 0;
|
|
113
113
|
}
|
|
114
|
-
.resource-list-loading[data-v-
|
|
114
|
+
.resource-list-loading[data-v-edd6a4a4] .el-skeleton .el-skeleton__item {
|
|
115
115
|
height: 69px;
|
|
116
116
|
}
|
|
117
|
-
@-webkit-keyframes changeVisibility-
|
|
117
|
+
@-webkit-keyframes changeVisibility-edd6a4a4 {
|
|
118
118
|
from {
|
|
119
119
|
height: 0;
|
|
120
120
|
}
|
|
@@ -122,7 +122,7 @@ to {
|
|
|
122
122
|
height: 100%;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
@keyframes changeVisibility-
|
|
125
|
+
@keyframes changeVisibility-edd6a4a4 {
|
|
126
126
|
from {
|
|
127
127
|
height: 0;
|
|
128
128
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { _ as _export_sfc, c as openBlock, h as createElementBlock, q as renderSlot, j as createBaseVNode, n as normalizeClass, d as defineComponent, f as createCommentVNode, r as ref, a1 as useProjectsStore, p as computed, H as watch,
|
|
2
|
-
import { R as ResourceListHeader } from "./ResourceListHeader-B2sxe6HT.js";
|
|
1
|
+
import { _ as _export_sfc, c as openBlock, h as createElementBlock, q as renderSlot, j as createBaseVNode, n as normalizeClass, d as defineComponent, f as createCommentVNode, r as ref, a1 as useProjectsStore, p as computed, H as watch, av as onBeforeMount, e as createBlock, w as withCtx, i as createVNode, aw as withDirectives, ax as vShow, k as createTextVNode, t as toDisplayString, A as unref, a8 as EnterpriseEditionFeature, j7 as ProjectSharing, g as useI18n, l as resolveComponent, U as useRoute, J as useDebounce, u as useUsersStore, o as onMounted, x as nextTick, aQ as normalizeProps, aR as guardReactiveProps, F as Fragment, z as renderList, ak as useTelemetry } from "./index-KRTOiXIE.js";
|
|
3
2
|
const wrapper$1 = "_wrapper_179di_1";
|
|
4
3
|
const content = "_content_179di_12";
|
|
5
4
|
const style0$3 = {
|
|
@@ -256,7 +255,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
256
255
|
const i18n = useI18n();
|
|
257
256
|
const { callDebounced } = useDebounce();
|
|
258
257
|
const usersStore = useUsersStore();
|
|
259
|
-
const projectsStore = useProjectsStore();
|
|
260
258
|
const telemetry = useTelemetry();
|
|
261
259
|
const sortBy = ref(props.sortOptions[0]);
|
|
262
260
|
const hasFilters = ref(false);
|
|
@@ -431,25 +429,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
431
429
|
hasFilters.value = true;
|
|
432
430
|
}
|
|
433
431
|
});
|
|
434
|
-
const headerIcon = computed(() => {
|
|
435
|
-
var _a, _b;
|
|
436
|
-
if (((_a = projectsStore.currentProject) == null ? void 0 : _a.type) === ProjectTypes.Personal) {
|
|
437
|
-
return "user";
|
|
438
|
-
} else if ((_b = projectsStore.currentProject) == null ? void 0 : _b.name) {
|
|
439
|
-
return "layer-group";
|
|
440
|
-
} else {
|
|
441
|
-
return "home";
|
|
442
|
-
}
|
|
443
|
-
});
|
|
444
|
-
const projectName = computed(() => {
|
|
445
|
-
if (!projectsStore.currentProject) {
|
|
446
|
-
return i18n.baseText("projects.menu.home");
|
|
447
|
-
} else if (projectsStore.currentProject.type === ProjectTypes.Personal) {
|
|
448
|
-
return i18n.baseText("projects.menu.personal");
|
|
449
|
-
} else {
|
|
450
|
-
return projectsStore.currentProject.name;
|
|
451
|
-
}
|
|
452
|
-
});
|
|
453
432
|
return (_ctx, _cache) => {
|
|
454
433
|
const _component_n8n_loading = resolveComponent("n8n-loading");
|
|
455
434
|
const _component_n8n_action_box = resolveComponent("n8n-action-box");
|
|
@@ -465,15 +444,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
465
444
|
const _component_n8n_text = resolveComponent("n8n-text");
|
|
466
445
|
return openBlock(), createBlock(PageViewLayout, null, {
|
|
467
446
|
header: withCtx(() => [
|
|
468
|
-
createVNode(ResourceListHeader, {
|
|
469
|
-
icon: headerIcon.value,
|
|
470
|
-
"data-test-id": "list-layout-header"
|
|
471
|
-
}, {
|
|
472
|
-
title: withCtx(() => [
|
|
473
|
-
createTextVNode(toDisplayString(projectName.value), 1)
|
|
474
|
-
]),
|
|
475
|
-
_: 1
|
|
476
|
-
}, 8, ["icon"]),
|
|
477
447
|
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
478
448
|
]),
|
|
479
449
|
default: withCtx(() => [
|
|
@@ -686,7 +656,7 @@ const style0 = {
|
|
|
686
656
|
const cssModules = {
|
|
687
657
|
"$style": style0
|
|
688
658
|
};
|
|
689
|
-
const ResourcesListLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
659
|
+
const ResourcesListLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-edd6a4a4"]]);
|
|
690
660
|
export {
|
|
691
661
|
ResourcesListLayout as R
|
|
692
662
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-
|
|
2
|
-
import { d as defineComponent,
|
|
3
|
-
import { V as VueJsonPretty } from "./NodeViewSwitcher-
|
|
4
|
-
import "./
|
|
5
|
-
import "./FileSaver.min-
|
|
6
|
-
import "./dateFormatter-
|
|
7
|
-
import "./useWorkflowActivate-
|
|
8
|
-
import "./pushConnection.store-
|
|
9
|
-
import "./useExecutionDebugging-
|
|
10
|
-
import "./useNodeViewVersionSwitcher-
|
|
11
|
-
import "./useBugReporting-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-Bn0kkV0k.js","assets/index-KRTOiXIE.js","assets/index-r43k-wiC.css","assets/useRunWorkflow-3NXGqc8M.js","assets/useRunWorkflow-DH7ZzA8t.css","assets/RunDataJsonActions-zNKrn8z4.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, at as useNDVStore, r as ref, jJ as nonExistingJsonPath, jK as useElementSize, p as computed, eC as executionDataToJson, c as openBlock, h as createElementBlock, e as createBlock, w as withCtx, A as unref, f as createCommentVNode, bs as Suspense, i as createVNode, jE as MappingPill, jF as TextWithHighlights, n as normalizeClass, e8 as Draggable, bO as defineAsyncComponent, as as __vitePreload, s as shorten, jI as getMappedExpression, fe as isString, aK as useExternalHooks, ak as useTelemetry, _ as _export_sfc } from "./index-KRTOiXIE.js";
|
|
3
|
+
import { V as VueJsonPretty } from "./NodeViewSwitcher-Bg192dfN.js";
|
|
4
|
+
import "./useRunWorkflow-3NXGqc8M.js";
|
|
5
|
+
import "./FileSaver.min-BjmMGbea.js";
|
|
6
|
+
import "./dateFormatter-DbqvzAoe.js";
|
|
7
|
+
import "./useWorkflowActivate-DP_90b8S.js";
|
|
8
|
+
import "./pushConnection.store-BaeC9SL1.js";
|
|
9
|
+
import "./useExecutionDebugging-B5hEDeUo.js";
|
|
10
|
+
import "./useNodeViewVersionSwitcher-DPTYc7jG.js";
|
|
11
|
+
import "./useBugReporting-DAqKvmOS.js";
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
13
|
__name: "RunDataJson",
|
|
14
14
|
props: {
|
|
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
},
|
|
26
26
|
setup(__props) {
|
|
27
27
|
const LazyRunDataJsonActions = defineAsyncComponent(
|
|
28
|
-
async () => await __vitePreload(() => import("./RunDataJsonActions-
|
|
28
|
+
async () => await __vitePreload(() => import("./RunDataJsonActions-Bn0kkV0k.js"), true ? __vite__mapDeps([0,1,2,3,4,5]) : void 0)
|
|
29
29
|
);
|
|
30
30
|
const props = __props;
|
|
31
31
|
const ndvStore = useNDVStore();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ec as commonjsGlobal, ed as getDefaultExportFromCjs, d as defineComponent, jJ as nonExistingJsonPath, at as useNDVStore, T as useWorkflowsStore, bg as useNodeHelpers, aZ as useClipboard, a as useToast, U as useRoute, p as computed, l as resolveComponent, c as openBlock, h as createElementBlock, e as createBlock, A as unref, w as withCtx, i as createVNode, k as createTextVNode, t as toDisplayString, j as createBaseVNode, n as normalizeClass, g as useI18n, ak as useTelemetry, eJ as clearJsonKey, eC as executionDataToJson, jT as convertPath, _ as _export_sfc } from "./index-KRTOiXIE.js";
|
|
2
|
+
import { u as usePinnedData } from "./useRunWorkflow-3NXGqc8M.js";
|
|
2
3
|
function commonjsRequire(path) {
|
|
3
4
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, J as useDebounce, r as ref, p as computed, o as onMounted,
|
|
1
|
+
import { d as defineComponent, J as useDebounce, r as ref, p as computed, o as onMounted, aX as onUnmounted, H as watch, l as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, n as normalizeClass, B as normalizeStyle, g as useI18n, _ as _export_sfc } from "./index-KRTOiXIE.js";
|
|
2
2
|
const COLLAPSED_WIDTH = "30px";
|
|
3
3
|
const OPEN_WIDTH = "204px";
|
|
4
4
|
const OPEN_MIN_WIDTH = "120px";
|
|
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
const { debounce } = useDebounce();
|
|
19
19
|
const inputRef = ref(null);
|
|
20
20
|
const search = ref(props.modelValue ?? "");
|
|
21
|
-
const opened = ref(
|
|
21
|
+
const opened = ref(!!search.value);
|
|
22
22
|
const placeholder = computed(() => {
|
|
23
23
|
if (props.paneType === "output") {
|
|
24
24
|
return locale.baseText("ndv.search.placeholder.output");
|