n8n-editor-ui 1.77.3 → 1.78.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.vue_vue_type_script_setup_true_lang-C9LVFaJT.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-eVUE5od5.js} +1 -1
- package/dist/assets/{AuthView-C383xWYW.js → AuthView-D1tEXMXA.js} +2 -2
- package/dist/assets/{CanvasChat-BGlghV3T.js → CanvasChat-BLb-TUbz.js} +4 -4
- package/dist/assets/{CanvasControls-Crujpx17.js → CanvasControls-BN3S3-fQ.js} +1 -1
- package/dist/assets/{ChangePasswordView-DXzIgEaK.js → ChangePasswordView-V1JTrEew.js} +3 -3
- package/dist/assets/CollectionParameter-C28x26Fy.js +4 -0
- package/dist/assets/{ConcurrentExecutionsHeader-D9E-tPI2.js → ConcurrentExecutionsHeader-BNA8q-8c.js} +2 -2
- package/dist/assets/{CredentialsView-Db-yh1UW.js → CredentialsView-AQksN2m1.js} +4 -4
- package/dist/assets/{ErrorView-DVEUcXeM.js → ErrorView-CLT4S_BD.js} +1 -1
- package/dist/assets/{ExecutionsView-CqcJ1jBb.js → ExecutionsView-qI0J-9KP.js} +5 -5
- package/dist/assets/{FileSaver.min-DRMcruyG.js → FileSaver.min-B-zoCBIE.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-rnJQitY7.js → FixedCollectionParameter-DQeeV-mE.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-CCuBQ23v.js → ForgotMyPasswordView-BYvqdrhp.js} +3 -3
- package/dist/assets/{Logo-vj6e7OLa.js → Logo-CmkNIoey.js} +1 -1
- package/dist/assets/{MainHeader-Bz40v4tX.js → MainHeader-rUYFpqrO.js} +9 -9
- package/dist/assets/{MainSidebar-7b7uQIcC.js → MainSidebar-B9_KVa79.js} +2 -2
- package/dist/assets/{NodeCreation-KBmCqr6_.js → NodeCreation-CWLKVrNb.js} +4 -4
- package/dist/assets/{NodeCreator-DTMPwVj5.js → NodeCreator-CzIIkTTW.js} +17 -6
- package/dist/assets/{NodeViewSwitcher-O6VqzxIl.js → NodeViewSwitcher-BUNM0KZ6.js} +61 -32
- package/dist/assets/{NodeViewSwitcher-DApULbEt.css → NodeViewSwitcher-Det3o0gl.css} +106 -106
- package/dist/assets/{ProjectCardBadge-OKM1Xgdw.js → ProjectCardBadge-BbA_Exq8.js} +1 -1
- package/dist/assets/{ProjectHeader-6S5uaHXh.js → ProjectHeader-DlgpDOwX.js} +1 -1
- package/dist/assets/{ProjectSettings-BnHtiDEV.js → ProjectSettings-DqEtmmAS.js} +2 -2
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-IciN-pmV.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DL91BcV8.js} +1 -1
- package/dist/assets/{ResourcesListLayout-d7mMNhOL.css → ResourcesListLayout-CvrwoZYS.css} +6 -6
- package/dist/assets/{ResourcesListLayout-D4r1wqjJ.js → ResourcesListLayout-D2ZxA1Uw.js} +14 -2
- package/dist/assets/{RunDataJson-wyo45w7C.js → RunDataJson-UkDmIQKn.js} +14 -14
- package/dist/assets/{RunDataJsonActions-D46WL4YN.js → RunDataJsonActions-BqDvrghZ.js} +2 -2
- package/dist/assets/{RunDataSearch-B3EyVssL.js → RunDataSearch-UNQ4_4vM.js} +1 -1
- package/dist/assets/{RunDataTable-DGMN5nF6.js → RunDataTable-BdbNPKnU.js} +2 -2
- package/dist/assets/{SamlOnboarding-CnXUkDfT.js → SamlOnboarding-Rzkh3AGB.js} +3 -3
- package/dist/assets/SettingsApiView-BB3Lm3bi.css +301 -0
- package/dist/assets/SettingsApiView-C27ofqQf.js +292 -0
- package/dist/assets/{SettingsCommunityNodesView-9KrggWFu.js → SettingsCommunityNodesView-CWp_YPSH.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-DBPzjP3z.js → SettingsExternalSecrets-BytZbZef.js} +1 -1
- package/dist/assets/{SettingsLdapView-Bg2KWXN0.js → SettingsLdapView-DvNozRM0.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-tgIsDBAk.js → SettingsLogStreamingView-C4Y3N6rF.js} +1 -1
- package/dist/assets/{SettingsPersonalView-CDJ8_Cuz.js → SettingsPersonalView--Z9y3dtC.js} +1 -1
- package/dist/assets/{SettingsSourceControl-ap8XMKcG.js → SettingsSourceControl-BElByx3w.js} +1 -1
- package/dist/assets/{SettingsSso-B91oi5bN.js → SettingsSso-DUOhZeok.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-Bb6yK99X.js → SettingsUsageAndPlan-DTw2vCOM.js} +1 -1
- package/dist/assets/{SettingsUsersView-Ci2z6Jpz.js → SettingsUsersView-B2lC671-.js} +1 -1
- package/dist/assets/{SettingsView-CStRsQ-w.js → SettingsView-tGXgBeZb.js} +1 -1
- package/dist/assets/{SetupView-B5zAoB3c.js → SetupView-BB-PMekL.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-Cro6GHxL.js → SetupWorkflowCredentialsButton-B7i_jYti.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-CcwL92Id.js → SetupWorkflowFromTemplateView-Co52TGFE.js} +3 -3
- package/dist/assets/{SigninView-DsPEhU2L.js → SigninView-B8lcx39e.js} +3 -3
- package/dist/assets/{SignoutView-BIckw4fs.js → SignoutView-CamkX68g.js} +1 -1
- package/dist/assets/{SignupView-DdJWtYpI.js → SignupView-D9e7FiEj.js} +3 -3
- package/dist/assets/{TemplateDetails-C41VgGvk.js → TemplateDetails-C0RPBtYu.js} +1 -1
- package/dist/assets/{TemplateList-DkS7PdQW.js → TemplateList-B6jscn2o.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BV7HXuai.js → TemplatesCollectionView-9fi4vQ1-.js} +5 -5
- package/dist/assets/{TemplatesSearchView-BKY_Lw-C.js → TemplatesSearchView-VlRyjuTl.js} +3 -3
- package/dist/assets/{TemplatesView-C312c1EZ.js → TemplatesView-CgQelQ-w.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BfzWwupR.js → TemplatesWorkflowView-BhhfuZZ9.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-CwoHUF5w.js → TestDefinitionEditView-Cv4ImQQb.js} +15 -3
- package/dist/assets/{TestDefinitionListView-2tWTEUz0.js → TestDefinitionListView-CywmtGBZ.js} +1 -1
- package/dist/assets/{TestDefinitionRootView-gJRxCHz3.js → TestDefinitionRootView-BhZESeJD.js} +1 -1
- package/dist/assets/{VariablesView-DqbIksP3.js → VariablesView-B_Ju8Kay.js} +2 -2
- package/dist/assets/{WorkerView-DSPfcsXN.js → WorkerView-Lif0hJie.js} +5 -5
- package/dist/assets/{WorkflowActivator-Bm8OihqN.js → WorkflowActivator-Bv0WPJm3.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-B78-cQSW.js → WorkflowExecutionsInfoAccordion-DitIU6bv.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-C39BBF2o.js → WorkflowExecutionsLandingPage-vuyCAPrk.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-CdlK3mFb.js → WorkflowExecutionsPreview-DN_WSVD_.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-a-Pjy5V5.js → WorkflowExecutionsView-BhFMyj3l.js} +5 -5
- package/dist/assets/{WorkflowHistory-Bwqmh22i.js → WorkflowHistory-XSHcXPVZ.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-CipWLUUf.js → WorkflowOnboardingView-DdujIOw8.js} +1 -1
- package/dist/assets/{WorkflowPreview-CAjmdxrY.js → WorkflowPreview-YDi-9g3Y.js} +1 -1
- package/dist/assets/{WorkflowsView-DP6J_TRf.js → WorkflowsView-BLTTQnV3.js} +7 -7
- package/dist/assets/{easyAiWorkflowUtils-BLdDr_bc.js → easyAiWorkflowUtils-WSNP3eeS.js} +1 -1
- package/dist/assets/{index-DablXALM.js → index-BwoviwZU.js} +5327 -3598
- package/dist/assets/{index-Bs_8II2j.css → index-DFFkAkMx.css} +1162 -532
- package/dist/assets/{polyfills-DfOJfMlf.js → polyfills-C7eMRNFe.js} +92 -39
- package/dist/assets/{pushConnection.store-DmLr_C_P.js → pushConnection.store-BlMyXexG.js} +1 -1
- package/dist/assets/{templateActions--1waaCku.js → templateActions-CDiqnge9.js} +1 -1
- package/dist/assets/{useBeforeUnload-C9Q3IFHU.js → useBeforeUnload-BQCxN-bM.js} +1 -1
- package/dist/assets/{useCanvasOperations-CEWecDkR.css → useCanvasOperations-CKa4_bqL.css} +4 -4
- package/dist/assets/{useCanvasOperations-CEPzjX8I.js → useCanvasOperations-DQSiUE8i.js} +96 -62
- package/dist/assets/{useExecutionDebugging-Pzj1BQ1f.js → useExecutionDebugging-BlSzHQ7f.js} +1 -1
- package/dist/assets/{useExecutionHelpers-F_WL-Kvp.js → useExecutionHelpers-DpNwTiuj.js} +1 -1
- package/dist/assets/{usePinnedData-BEOJK2e-.js → usePinnedData-E0jv55-6.js} +1 -1
- package/dist/assets/{usePushConnection-BlvBVLFC.js → usePushConnection-ioPocbvz.js} +3 -3
- package/dist/assets/{useRunWorkflow-CoRVHZg2.js → useRunWorkflow-B-O5w0ED.js} +8 -5
- package/dist/assets/{useWorkflowActivate-wvqU9rPU.js → useWorkflowActivate-CbVB4JlR.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/static/og_image.png +0 -0
- package/package.json +1 -1
- package/tsconfig.json +10 -13
- package/vite.config.mts +6 -2
- package/dist/assets/CollectionParameter-C_1RVSJv.js +0 -4
- package/dist/assets/SettingsApiView-DJKJO7zM.css +0 -145
- package/dist/assets/SettingsApiView-EFylgnqH.js +0 -227
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { d as defineComponent, r as ref, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, h as createElementBlock, f as createCommentVNode, aJ as DateTime, g as useI18n, _ as _export_sfc, p as useSettingsStore, K as useUIStore, aH as useCloudPlanStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, fs as useApiKeysStore, cl as storeToRefs, o as onMounted, l as unref, F as Fragment, A as renderList, ft as API_KEY_CREATE_OR_EDIT_MODAL_KEY, aj as useTelemetry, ae as MODAL_CONFIRM, ak as useMessage } from "./index-BwoviwZU.js";
|
|
2
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "ApiKeyCard",
|
|
4
|
+
props: {
|
|
5
|
+
apiKey: {}
|
|
6
|
+
},
|
|
7
|
+
emits: ["edit", "delete"],
|
|
8
|
+
setup(__props, { emit: __emit }) {
|
|
9
|
+
const API_KEY_ITEM_ACTIONS = {
|
|
10
|
+
EDIT: "edit",
|
|
11
|
+
DELETE: "delete"
|
|
12
|
+
};
|
|
13
|
+
const ACTION_LIST = [
|
|
14
|
+
{
|
|
15
|
+
label: "Edit",
|
|
16
|
+
value: API_KEY_ITEM_ACTIONS.EDIT
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
label: "Delete",
|
|
20
|
+
value: API_KEY_ITEM_ACTIONS.DELETE
|
|
21
|
+
}
|
|
22
|
+
];
|
|
23
|
+
const i18n = useI18n();
|
|
24
|
+
const cardActions2 = ref(null);
|
|
25
|
+
const props = __props;
|
|
26
|
+
const emit = __emit;
|
|
27
|
+
async function onAction(action) {
|
|
28
|
+
if (action === API_KEY_ITEM_ACTIONS.EDIT) {
|
|
29
|
+
emit("edit", props.apiKey.id);
|
|
30
|
+
} else if (action === API_KEY_ITEM_ACTIONS.DELETE) {
|
|
31
|
+
emit("delete", props.apiKey.id);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const hasApiKeyExpired = (apiKey) => {
|
|
35
|
+
if (!apiKey.expiresAt) return false;
|
|
36
|
+
return apiKey.expiresAt <= Date.now() / 1e3;
|
|
37
|
+
};
|
|
38
|
+
const getExpirationTime = (apiKey) => {
|
|
39
|
+
if (!apiKey.expiresAt) return i18n.baseText("settings.api.neverExpires");
|
|
40
|
+
if (hasApiKeyExpired(apiKey)) return i18n.baseText("settings.api.expired");
|
|
41
|
+
const time = DateTime.fromSeconds(apiKey.expiresAt).toFormat("ccc, MMM d yyyy");
|
|
42
|
+
return i18n.baseText("settings.api.expirationTime", { interpolate: { time } });
|
|
43
|
+
};
|
|
44
|
+
return (_ctx, _cache) => {
|
|
45
|
+
const _component_n8n_heading = resolveComponent("n8n-heading");
|
|
46
|
+
const _component_n8n_text = resolveComponent("n8n-text");
|
|
47
|
+
const _component_n8n_action_toggle = resolveComponent("n8n-action-toggle");
|
|
48
|
+
const _component_n8n_card = resolveComponent("n8n-card");
|
|
49
|
+
return openBlock(), createBlock(_component_n8n_card, {
|
|
50
|
+
class: normalizeClass(_ctx.$style.cardLink),
|
|
51
|
+
"data-test-id": "api-key-card",
|
|
52
|
+
onClick: _cache[0] || (_cache[0] = ($event) => onAction("edit"))
|
|
53
|
+
}, {
|
|
54
|
+
header: withCtx(() => [
|
|
55
|
+
createBaseVNode("div", null, [
|
|
56
|
+
createVNode(_component_n8n_heading, {
|
|
57
|
+
tag: "h2",
|
|
58
|
+
bold: "",
|
|
59
|
+
class: normalizeClass(_ctx.$style.cardHeading)
|
|
60
|
+
}, {
|
|
61
|
+
default: withCtx(() => [
|
|
62
|
+
createTextVNode(toDisplayString(_ctx.apiKey.label), 1)
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["class"]),
|
|
66
|
+
createBaseVNode("div", {
|
|
67
|
+
class: normalizeClass([_ctx.$style.cardDescription])
|
|
68
|
+
}, [
|
|
69
|
+
createVNode(_component_n8n_text, {
|
|
70
|
+
color: !hasApiKeyExpired(_ctx.apiKey) ? "text-light" : "warning",
|
|
71
|
+
size: "small"
|
|
72
|
+
}, {
|
|
73
|
+
default: withCtx(() => [
|
|
74
|
+
createBaseVNode("span", null, toDisplayString(getExpirationTime(_ctx.apiKey)), 1)
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["color"])
|
|
78
|
+
], 2)
|
|
79
|
+
]),
|
|
80
|
+
_ctx.apiKey.apiKey.includes("*") ? (openBlock(), createElementBlock("div", {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: normalizeClass(_ctx.$style.cardApiKey)
|
|
83
|
+
}, [
|
|
84
|
+
createVNode(_component_n8n_text, {
|
|
85
|
+
color: "text-light",
|
|
86
|
+
size: "small"
|
|
87
|
+
}, {
|
|
88
|
+
default: withCtx(() => [
|
|
89
|
+
createTextVNode(toDisplayString(_ctx.apiKey.apiKey), 1)
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
})
|
|
93
|
+
], 2)) : createCommentVNode("", true)
|
|
94
|
+
]),
|
|
95
|
+
append: withCtx(() => [
|
|
96
|
+
createBaseVNode("div", {
|
|
97
|
+
ref_key: "cardActions",
|
|
98
|
+
ref: cardActions2,
|
|
99
|
+
class: normalizeClass(_ctx.$style.cardActions)
|
|
100
|
+
}, [
|
|
101
|
+
createVNode(_component_n8n_action_toggle, {
|
|
102
|
+
actions: ACTION_LIST,
|
|
103
|
+
theme: "dark",
|
|
104
|
+
onAction
|
|
105
|
+
})
|
|
106
|
+
], 2)
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 8, ["class"]);
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
const cardLink = "_cardLink_ni149_123";
|
|
114
|
+
const cardHeading = "_cardHeading_ni149_133";
|
|
115
|
+
const cardDescription = "_cardDescription_ni149_140";
|
|
116
|
+
const cardActions = "_cardActions_ni149_147";
|
|
117
|
+
const cardApiKey = "_cardApiKey_ni149_156";
|
|
118
|
+
const style0$1 = {
|
|
119
|
+
cardLink,
|
|
120
|
+
cardHeading,
|
|
121
|
+
cardDescription,
|
|
122
|
+
cardActions,
|
|
123
|
+
cardApiKey
|
|
124
|
+
};
|
|
125
|
+
const cssModules$1 = {
|
|
126
|
+
"$style": style0$1
|
|
127
|
+
};
|
|
128
|
+
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
|
|
129
|
+
const _hoisted_1 = { style: { fontSize: "var(--font-size-s)", color: "var(--color-text-light)" } };
|
|
130
|
+
const _hoisted_2 = { class: "mt-m text-right" };
|
|
131
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
132
|
+
__name: "SettingsApiView",
|
|
133
|
+
setup(__props) {
|
|
134
|
+
const settingsStore = useSettingsStore();
|
|
135
|
+
const uiStore = useUIStore();
|
|
136
|
+
const cloudPlanStore = useCloudPlanStore();
|
|
137
|
+
const { showError, showMessage } = useToast();
|
|
138
|
+
const { confirm } = useMessage();
|
|
139
|
+
const documentTitle = useDocumentTitle();
|
|
140
|
+
const i18n = useI18n();
|
|
141
|
+
const { goToUpgrade } = usePageRedirectionHelper();
|
|
142
|
+
const telemetry = useTelemetry();
|
|
143
|
+
const loading = ref(false);
|
|
144
|
+
const apiKeysStore = useApiKeysStore();
|
|
145
|
+
const { getAndCacheApiKeys, deleteApiKey } = apiKeysStore;
|
|
146
|
+
const { apiKeysSortByCreationDate } = storeToRefs(apiKeysStore);
|
|
147
|
+
const { isPublicApiEnabled } = settingsStore;
|
|
148
|
+
const onCreateApiKey = async () => {
|
|
149
|
+
telemetry.track("User clicked create API key button");
|
|
150
|
+
uiStore.openModalWithData({
|
|
151
|
+
name: API_KEY_CREATE_OR_EDIT_MODAL_KEY,
|
|
152
|
+
data: { mode: "new" }
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
onMounted(async () => {
|
|
156
|
+
documentTitle.set(i18n.baseText("settings.api"));
|
|
157
|
+
if (!isPublicApiEnabled) return;
|
|
158
|
+
await getApiKeys();
|
|
159
|
+
});
|
|
160
|
+
function onUpgrade() {
|
|
161
|
+
void goToUpgrade("settings-n8n-api", "upgrade-api", "redirect");
|
|
162
|
+
}
|
|
163
|
+
async function getApiKeys() {
|
|
164
|
+
try {
|
|
165
|
+
loading.value = true;
|
|
166
|
+
await getAndCacheApiKeys();
|
|
167
|
+
} catch (error) {
|
|
168
|
+
showError(error, i18n.baseText("settings.api.view.error"));
|
|
169
|
+
} finally {
|
|
170
|
+
loading.value = false;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
async function onDelete(id) {
|
|
174
|
+
const confirmed = await confirm(
|
|
175
|
+
i18n.baseText("settings.api.delete.description"),
|
|
176
|
+
i18n.baseText("settings.api.delete.title"),
|
|
177
|
+
{
|
|
178
|
+
confirmButtonText: i18n.baseText("settings.api.delete.button"),
|
|
179
|
+
cancelButtonText: i18n.baseText("generic.cancel")
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
if (confirmed === MODAL_CONFIRM) {
|
|
183
|
+
try {
|
|
184
|
+
await deleteApiKey(id);
|
|
185
|
+
showMessage({
|
|
186
|
+
title: i18n.baseText("settings.api.delete.toast"),
|
|
187
|
+
type: "success"
|
|
188
|
+
});
|
|
189
|
+
} catch (e) {
|
|
190
|
+
showError(e, i18n.baseText("settings.api.delete.error"));
|
|
191
|
+
} finally {
|
|
192
|
+
telemetry.track("User clicked delete API key button");
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
function onEdit(id) {
|
|
197
|
+
uiStore.openModalWithData({
|
|
198
|
+
name: API_KEY_CREATE_OR_EDIT_MODAL_KEY,
|
|
199
|
+
data: { mode: "edit", activeId: id }
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
return (_ctx, _cache) => {
|
|
203
|
+
const _component_n8n_heading = resolveComponent("n8n-heading");
|
|
204
|
+
const _component_ApiKeyCard = __unplugin_components_0;
|
|
205
|
+
const _component_el_col = resolveComponent("el-col");
|
|
206
|
+
const _component_el_row = resolveComponent("el-row");
|
|
207
|
+
const _component_n8n_button = resolveComponent("n8n-button");
|
|
208
|
+
const _component_n8n_action_box = resolveComponent("n8n-action-box");
|
|
209
|
+
return openBlock(), createElementBlock("div", {
|
|
210
|
+
class: normalizeClass(_ctx.$style.container)
|
|
211
|
+
}, [
|
|
212
|
+
createBaseVNode("div", {
|
|
213
|
+
class: normalizeClass(_ctx.$style.header)
|
|
214
|
+
}, [
|
|
215
|
+
createVNode(_component_n8n_heading, { size: "2xlarge" }, {
|
|
216
|
+
default: withCtx(() => [
|
|
217
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("settings.api")) + " ", 1),
|
|
218
|
+
createBaseVNode("span", _hoisted_1, " (" + toDisplayString(unref(i18n).baseText("generic.beta")) + ") ", 1)
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
})
|
|
222
|
+
], 2),
|
|
223
|
+
unref(apiKeysSortByCreationDate).length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
224
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(apiKeysSortByCreationDate), (apiKey) => {
|
|
225
|
+
return openBlock(), createBlock(_component_el_row, {
|
|
226
|
+
key: apiKey.id,
|
|
227
|
+
gutter: 10,
|
|
228
|
+
class: normalizeClass(_ctx.$style.destinationItem)
|
|
229
|
+
}, {
|
|
230
|
+
default: withCtx(() => [
|
|
231
|
+
createVNode(_component_el_col, null, {
|
|
232
|
+
default: withCtx(() => [
|
|
233
|
+
createVNode(_component_ApiKeyCard, {
|
|
234
|
+
"api-key": apiKey,
|
|
235
|
+
onDelete,
|
|
236
|
+
onEdit
|
|
237
|
+
}, null, 8, ["api-key"])
|
|
238
|
+
]),
|
|
239
|
+
_: 2
|
|
240
|
+
}, 1024)
|
|
241
|
+
]),
|
|
242
|
+
_: 2
|
|
243
|
+
}, 1032, ["class"]);
|
|
244
|
+
}), 128)),
|
|
245
|
+
createBaseVNode("div", _hoisted_2, [
|
|
246
|
+
createVNode(_component_n8n_button, {
|
|
247
|
+
size: "large",
|
|
248
|
+
disabled: !unref(apiKeysStore).canAddMoreApiKeys,
|
|
249
|
+
onClick: onCreateApiKey
|
|
250
|
+
}, {
|
|
251
|
+
default: withCtx(() => [
|
|
252
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("settings.api.create.button")), 1)
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 8, ["disabled"])
|
|
256
|
+
])
|
|
257
|
+
], 64)) : !unref(isPublicApiEnabled) && unref(cloudPlanStore).userIsTrialing ? (openBlock(), createBlock(_component_n8n_action_box, {
|
|
258
|
+
key: 1,
|
|
259
|
+
"data-test-id": "public-api-upgrade-cta",
|
|
260
|
+
heading: unref(i18n).baseText("settings.api.trial.upgradePlan.title"),
|
|
261
|
+
description: unref(i18n).baseText("settings.api.trial.upgradePlan.description"),
|
|
262
|
+
"button-text": unref(i18n).baseText("settings.api.trial.upgradePlan.cta"),
|
|
263
|
+
"onClick:button": onUpgrade
|
|
264
|
+
}, null, 8, ["heading", "description", "button-text"])) : createCommentVNode("", true),
|
|
265
|
+
unref(isPublicApiEnabled) && !unref(apiKeysSortByCreationDate).length ? (openBlock(), createBlock(_component_n8n_action_box, {
|
|
266
|
+
key: 2,
|
|
267
|
+
"button-text": unref(i18n).baseText(loading.value ? "settings.api.create.button.loading" : "settings.api.create.button"),
|
|
268
|
+
description: unref(i18n).baseText("settings.api.create.description"),
|
|
269
|
+
"onClick:button": onCreateApiKey
|
|
270
|
+
}, null, 8, ["button-text", "description"])) : createCommentVNode("", true)
|
|
271
|
+
], 2);
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
const header = "_header_1kmpf_123";
|
|
276
|
+
const card = "_card_1kmpf_133";
|
|
277
|
+
const destinationItem = "_destinationItem_1kmpf_137";
|
|
278
|
+
const hint = "_hint_1kmpf_148";
|
|
279
|
+
const style0 = {
|
|
280
|
+
header,
|
|
281
|
+
card,
|
|
282
|
+
destinationItem,
|
|
283
|
+
"delete": "_delete_1kmpf_141",
|
|
284
|
+
hint
|
|
285
|
+
};
|
|
286
|
+
const cssModules = {
|
|
287
|
+
"$style": style0
|
|
288
|
+
};
|
|
289
|
+
const SettingsApiView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
290
|
+
export {
|
|
291
|
+
SettingsApiView as default
|
|
292
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as defineComponent, K as useUIStore,
|
|
2
|
-
import { u as usePushConnection } from "./usePushConnection-
|
|
3
|
-
import { u as usePushConnectionStore } from "./pushConnection.store-
|
|
4
|
-
import "./easyAiWorkflowUtils-
|
|
1
|
+
import { d as defineComponent, K as useUIStore, fp as COMMUNITY_PACKAGE_MANAGE_ACTIONS, m as resolveComponent, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, j as createBaseVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, F as Fragment, A as renderList, f as createCommentVNode, e as createBlock, g as useI18n, bt as NPM_PACKAGE_DOCS_BASE_URL, aj as useTelemetry, _ as _export_sfc, r as ref, b as useRouter, a as useToast, a3 as useDocumentTitle, fq as useCommunityNodesStore, q as computed, aw as onBeforeMount, o as onMounted, x as onBeforeUnmount, fr as COMMUNITY_PACKAGE_INSTALL_MODAL_KEY, aT as useExternalHooks, bv as COMMUNITY_NODES_INSTALLATION_DOCS_URL } from "./index-BwoviwZU.js";
|
|
2
|
+
import { u as usePushConnection } from "./usePushConnection-ioPocbvz.js";
|
|
3
|
+
import { u as usePushConnectionStore } from "./pushConnection.store-BlMyXexG.js";
|
|
4
|
+
import "./easyAiWorkflowUtils-WSNP3eeS.js";
|
|
5
5
|
const _hoisted_1 = { key: 0 };
|
|
6
6
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "CommunityPackageCard",
|
package/dist/assets/{SettingsExternalSecrets-DBPzjP3z.js → SettingsExternalSecrets-BytZbZef.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
1
|
+
import { d as defineComponent, dK as useExternalSecretsStore, K as useUIStore, a as useToast, ck as toRef, q as computed, g2 as useExternalSecretsProvider, aJ as DateTime, g3 as isDateObject, o as onMounted, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, n as normalizeClass, i as createVNode, g4 as _sfc_main$2, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, h as createElementBlock, g5 as ExternalSecretsProviderConnectionSwitch, g as useI18n, y as nextTick, g6 as EXTERNAL_SECRETS_PROVIDER_MODAL_KEY, _ as _export_sfc, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, F as Fragment, A as renderList } from "./index-BwoviwZU.js";
|
|
2
2
|
const _hoisted_1$1 = { key: 0 };
|
|
3
3
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ExternalSecretsProviderCard.ee",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ce as getDefaultExportFromCjs, r as ref, aY as toRefs, o as onMounted, b4 as onUnmounted, c as openBlock, h as createElementBlock, s as renderSlot, i as createVNode, f as createCommentVNode, j as createBaseVNode, t as toDisplayString, H as watch, y as nextTick,
|
|
1
|
+
import { ce as getDefaultExportFromCjs, r as ref, aY as toRefs, o as onMounted, b4 as onUnmounted, c as openBlock, h as createElementBlock, s as renderSlot, i as createVNode, f as createCommentVNode, j as createBaseVNode, t as toDisplayString, H as watch, y as nextTick, fa as pushScopeId, fb as popScopeId, d as defineComponent, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, p as useSettingsStore, q as computed, w as withCtx, k as createTextVNode, l as unref, n as normalizeClass, ax as withDirectives, e as createBlock, fc as ElTableColumn, fd as ElTable, g as useI18n, fe as createFormEventBus, ae as MODAL_CONFIRM, m as resolveComponent, cT as resolveDirective, ak as useMessage, ff as capitalizeFirstLetter, fg as convertToDisplayDate, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
2
2
|
var humanizeDuration$1 = { exports: {} };
|
|
3
3
|
var hasRequiredHumanizeDuration;
|
|
4
4
|
function requireHumanizeDuration() {
|
package/dist/assets/{SettingsLogStreamingView-tgIsDBAk.js → SettingsLogStreamingView-C4Y3N6rF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, c0 as deepCopy,
|
|
1
|
+
import { d as defineComponent, c0 as deepCopy, fu as defaultMessageEventBusDestinationOptions, fv as useLogStreamingStore, r as ref, o as onMounted, aw as onBeforeMount, q as computed, ds as assert, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, g as useI18n, ae as MODAL_CONFIRM, ak as useMessage, _ as _export_sfc, p as useSettingsStore, T as useWorkflowsStore, K as useUIStore, bR as useCredentialsStore, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, h as createElementBlock, F as Fragment, f as createCommentVNode, ax as withDirectives, A as renderList, C as createEventBus, bk as v4, y as nextTick, fw as LOG_STREAM_MODAL_KEY, cT as resolveDirective, a8 as EnterpriseEditionFeature, am as hasPermission, d9 as getCurrentInstance } from "./index-BwoviwZU.js";
|
|
2
2
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "EventDestinationCard.ee",
|
|
4
4
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, a as useToast, a3 as useDocumentTitle, r as ref, K as useUIStore, u as useUsersStore, p as useSettingsStore, q as computed, o as onMounted, x as onBeforeUnmount,
|
|
1
|
+
import { d as defineComponent, a as useToast, a3 as useDocumentTitle, r as ref, K as useUIStore, u as useUsersStore, p as useSettingsStore, q as computed, o as onMounted, x as onBeforeUnmount, fh as promptMfaCodeBus, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, e as createBlock, fi as MFA_DOCS_URL, F as Fragment, A as renderList, g as useI18n, fe as createFormEventBus, fj as PROMPT_MFA_CODE_MODAL_KEY, fk as CHANGE_PASSWORD_MODAL_KEY, fl as MFA_SETUP_MODAL_KEY, m as resolveComponent, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
2
2
|
const _hoisted_1 = { class: "mb-s" };
|
|
3
3
|
const _hoisted_2 = { "data-test-id": "personal-data-form" };
|
|
4
4
|
const _hoisted_3 = { key: 0 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, a0 as useSourceControlStore, a5 as usePageRedirectionHelper, a as useToast, a3 as useDocumentTitle, aC as useLoadingService, r as ref, q as computed, o as onMounted,
|
|
1
|
+
import { d as defineComponent, a0 as useSourceControlStore, a5 as usePageRedirectionHelper, a as useToast, a3 as useDocumentTitle, aC as useLoadingService, r as ref, q as computed, o as onMounted, dC as reactive, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, n as normalizeClass, e as createBlock, f as createCommentVNode, d0 as CopyInput, g as useI18n, ae as MODAL_CONFIRM, m as resolveComponent, ak as useMessage, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
"data-test-id": "source-control-content-licensed"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, Z as useRootStore,
|
|
1
|
+
import { d as defineComponent, Z as useRootStore, fm as useSSOStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, q as computed, r as ref, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, e as createBlock, n as normalizeClass, f as createCommentVNode, d0 as CopyInput, ax as withDirectives, ay as vShow, g as useI18n, m as resolveComponent, aj as useTelemetry, ak as useMessage, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
2
2
|
const _hoisted_1 = { class: "pb-3xl" };
|
|
3
3
|
const _hoisted_2 = {
|
|
4
4
|
href: "https://docs.n8n.io/user-management/saml/",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
1
|
+
import { d as defineComponent, fZ as useUsageStore, U as useRoute, b as useRouter, K as useUIStore, u as useUsersStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, r as ref, q as computed, o as onMounted, f_ as i18n, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, e as createBlock, f as createCommentVNode, j as createBaseVNode, B as normalizeStyle, cB as InfoTip, I as withModifiers, f$ as COMMUNITY_PLUS_ENROLLMENT_MODAL, m as resolveComponent, am as hasPermission, al as getResourcePermissions, g0 as telemetry, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
2
2
|
const _hoisted_1 = { class: "settings-usage-and-plan" };
|
|
3
3
|
const _hoisted_2 = { key: 0 };
|
|
4
4
|
const _hoisted_3 = { key: 0 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b6 as useClipboard, a as useToast, p as useSettingsStore, K as useUIStore, u as useUsersStore,
|
|
1
|
+
import { d as defineComponent, b6 as useClipboard, a as useToast, p as useSettingsStore, K as useUIStore, u as useUsersStore, fm as useSSOStore, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, q as computed, o as onMounted, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, e as createBlock, F as Fragment, A as renderList, g as useI18n, fn as INVITE_USER_MODAL_KEY, m as resolveComponent, am as hasPermission, a8 as EnterpriseEditionFeature, fo as ROLE, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "SettingsUsersView",
|
|
4
4
|
setup(__props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { am as hasPermission, d as defineComponent, b as useRouter, U as useRoute, Z as useRootStore, p as useSettingsStore, K as useUIStore, q as computed, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, aV as ABOUT_MODAL_KEY, g as useI18n, m as resolveComponent, V as VIEWS, _ as _export_sfc, r as ref, o as onMounted, a$ as mergeProps,
|
|
1
|
+
import { am as hasPermission, d as defineComponent, b as useRouter, U as useRoute, Z as useRootStore, p as useSettingsStore, K as useUIStore, q as computed, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, aV as ABOUT_MODAL_KEY, g as useI18n, m as resolveComponent, V as VIEWS, _ as _export_sfc, r as ref, o as onMounted, a$ as mergeProps, f9 as isRouteLocationRaw } from "./index-BwoviwZU.js";
|
|
2
2
|
function useUserHelpers(router, route) {
|
|
3
3
|
const canUserAccessRouteByName = (name) => {
|
|
4
4
|
const resolvedRoute = router.resolve({ name });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, p as useSettingsStore, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, r as ref,
|
|
2
|
-
import { A as AuthView } from "./AuthView-
|
|
3
|
-
import "./Logo-
|
|
1
|
+
import { d as defineComponent, p as useSettingsStore, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, r as ref, dC as reactive, c as openBlock, e as createBlock, g as useI18n, V as VIEWS } from "./index-BwoviwZU.js";
|
|
2
|
+
import { A as AuthView } from "./AuthView-D1tEXMXA.js";
|
|
3
|
+
import "./Logo-CmkNIoey.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "SetupView",
|
|
6
6
|
setup(__props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, T as useWorkflowsStore, bo as useNodeTypesStore, K as useUIStore, au as usePostHog, q as computed,
|
|
1
|
+
import { d as defineComponent, T as useWorkflowsStore, bo as useNodeTypesStore, K as useUIStore, au as usePostHog, q as computed, ix as doesNodeHaveAllCredentialsFilled, fG as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, H as watch, x as onBeforeUnmount, iy as SETUP_CREDENTIALS_MODAL_KEY, m as resolveComponent, c as openBlock, e as createBlock, l as unref, f as createCommentVNode, g as useI18n } from "./index-BwoviwZU.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "SetupWorkflowCredentialsButton",
|
|
4
4
|
setup(__props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { R as defineStore, r as ref, aM as useTemplatesStore, bo as useNodeTypesStore, bR as useCredentialsStore, Z as useRootStore, T as useWorkflowsStore, q as computed,
|
|
2
|
-
import { c as createWorkflowFromTemplate } from "./templateActions
|
|
3
|
-
import { T as TemplatesView } from "./TemplatesView-
|
|
1
|
+
import { R as defineStore, r as ref, aM as useTemplatesStore, bo as useNodeTypesStore, bR as useCredentialsStore, Z as useRootStore, T as useWorkflowsStore, q as computed, fF as useCredentialSetupState, V as VIEWS, dV as tryToParseNumber, aT as useExternalHooks, aj as useTelemetry, d as defineComponent, au as usePostHog, U as useRoute, b as useRouter, H as watch, aw as onBeforeMount, fG as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, o as onMounted, c as openBlock, e as createBlock, w as withCtx, l as unref, fH as N8nHeading, k as createTextVNode, t as toDisplayString, j as createBaseVNode, n as normalizeClass, fI as AppsRequiringCredsNotice, h as createElementBlock, F as Fragment, A as renderList, i as createVNode, aO as N8nLink, g as useI18n, m as resolveComponent, fJ as SetupTemplateFormStep, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
2
|
+
import { c as createWorkflowFromTemplate } from "./templateActions-CDiqnge9.js";
|
|
3
|
+
import { T as TemplatesView } from "./TemplatesView-CgQelQ-w.js";
|
|
4
4
|
const useSetupTemplateStore = defineStore("setupTemplate", () => {
|
|
5
5
|
const templateId = ref("");
|
|
6
6
|
const isLoading = ref(true);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref,
|
|
2
|
-
import { A as AuthView } from "./AuthView-
|
|
3
|
-
import { L as Logo } from "./Logo-
|
|
1
|
+
import { d as defineComponent, r as ref, fx as toRefs, p as useSettingsStore, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, l as unref, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, n as normalizeClass, e as createBlock, f as createCommentVNode, g as useI18n, fy as MFA_FORM, m as resolveComponent, fz as mfaEventBus, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, fA as MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH, _ as _export_sfc, u as useUsersStore, aH as useCloudPlanStore, U as useRoute, b as useRouter, a as useToast, q as computed, dC as reactive, V as VIEWS, fB as MFA_AUTHENTICATION_REQUIRED_ERROR_CODE, aj as useTelemetry } from "./index-BwoviwZU.js";
|
|
2
|
+
import { A as AuthView } from "./AuthView-D1tEXMXA.js";
|
|
3
|
+
import { L as Logo } from "./Logo-CmkNIoey.js";
|
|
4
4
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "MfaView",
|
|
6
6
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, o as onMounted, c as openBlock, h as createElementBlock, V as VIEWS, g as useI18n } from "./index-
|
|
1
|
+
import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, o as onMounted, c as openBlock, h as createElementBlock, V as VIEWS, g as useI18n } from "./index-BwoviwZU.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "SignoutView",
|
|
4
4
|
setup(__props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as AuthView } from "./AuthView-
|
|
2
|
-
import { d as defineComponent, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, U as useRoute, r as ref, q as computed, o as onMounted, V as VIEWS, c as openBlock, e as createBlock, g as useI18n } from "./index-
|
|
3
|
-
import "./Logo-
|
|
1
|
+
import { A as AuthView } from "./AuthView-D1tEXMXA.js";
|
|
2
|
+
import { d as defineComponent, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, U as useRoute, r as ref, q as computed, o as onMounted, V as VIEWS, c as openBlock, e as createBlock, g as useI18n } from "./index-BwoviwZU.js";
|
|
3
|
+
import "./Logo-CmkNIoey.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "SignupView",
|
|
6
6
|
setup(__props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, n as normalizeClass, s as renderSlot, m as resolveComponent, _ as _export_sfc, b as useRouter, aM as useTemplatesStore, e as createBlock, F as Fragment, A as renderList, l as unref,
|
|
1
|
+
import { d as defineComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, n as normalizeClass, s as renderSlot, m as resolveComponent, _ as _export_sfc, b as useRouter, aM as useTemplatesStore, e as createBlock, F as Fragment, A as renderList, l as unref, fC as filterTemplateNodes, f as createCommentVNode, fD as _sfc_main$2, fE as abbreviateNumber, g as useI18n, br as _sfc_main$3 } from "./index-BwoviwZU.js";
|
|
2
2
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "TemplateDetailsBlock",
|
|
4
4
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, q as computed,
|
|
1
|
+
import { d as defineComponent, q as computed, fC as filterTemplateNodes, c as openBlock, h as createElementBlock, F as Fragment, A as renderList, n as normalizeClass, i as createVNode, br as _sfc_main$3, t as toDisplayString, f as createCommentVNode, _ as _export_sfc, m as resolveComponent, w as withCtx, k as createTextVNode, l as unref, fE as abbreviateNumber, fD as _sfc_main$4, e as createBlock, I as withModifiers, g as useI18n, r as ref, o as onMounted, x as onBeforeUnmount, j as createBaseVNode } from "./index-BwoviwZU.js";
|
|
2
2
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "NodeList",
|
|
4
4
|
props: {
|
package/dist/assets/{TemplatesCollectionView-BV7HXuai.js → TemplatesCollectionView-9fi4vQ1-.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as isFullTemplatesCollection, _ as __unplugin_components_1 } from "./TemplateDetails-
|
|
2
|
-
import { T as TemplateList } from "./TemplateList-
|
|
3
|
-
import { T as TemplatesView } from "./TemplatesView-
|
|
4
|
-
import { d as defineComponent, aM as useTemplatesStore, au as usePostHog, bo as useNodeTypesStore, U as useRoute, b as useRouter, a3 as useDocumentTitle, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, aS as createSlots, w as withCtx, j as createBaseVNode, n as normalizeClass, l as unref, h as createElementBlock, i as createVNode, f as createCommentVNode, k as createTextVNode, t as toDisplayString, g as useI18n, V as VIEWS, m as resolveComponent, aT as useExternalHooks, aj as useTelemetry, _ as _export_sfc } from "./index-
|
|
5
|
-
import { u as useTemplateWorkflow } from "./templateActions
|
|
1
|
+
import { i as isFullTemplatesCollection, _ as __unplugin_components_1 } from "./TemplateDetails-C0RPBtYu.js";
|
|
2
|
+
import { T as TemplateList } from "./TemplateList-B6jscn2o.js";
|
|
3
|
+
import { T as TemplatesView } from "./TemplatesView-CgQelQ-w.js";
|
|
4
|
+
import { d as defineComponent, aM as useTemplatesStore, au as usePostHog, bo as useNodeTypesStore, U as useRoute, b as useRouter, a3 as useDocumentTitle, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, aS as createSlots, w as withCtx, j as createBaseVNode, n as normalizeClass, l as unref, h as createElementBlock, i as createVNode, f as createCommentVNode, k as createTextVNode, t as toDisplayString, g as useI18n, V as VIEWS, m as resolveComponent, aT as useExternalHooks, aj as useTelemetry, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
5
|
+
import { u as useTemplateWorkflow } from "./templateActions-CDiqnge9.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "TemplatesCollectionView",
|
|
8
8
|
setup(__props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, m as resolveComponent, c as openBlock, e as createBlock, aS as createSlots, w as withCtx, j as createBaseVNode, n as normalizeClass, t as toDisplayString, s as renderSlot, i as createVNode, a$ as mergeProps, _ as _export_sfc, ax as withDirectives, k as createTextVNode, l as unref, ay as vShow, B as normalizeStyle, g as useI18n,
|
|
2
|
-
import { N as NodeList, T as TemplateList } from "./TemplateList-
|
|
3
|
-
import { T as TemplatesView } from "./TemplatesView-
|
|
1
|
+
import { d as defineComponent, m as resolveComponent, c as openBlock, e as createBlock, aS as createSlots, w as withCtx, j as createBaseVNode, n as normalizeClass, t as toDisplayString, s as renderSlot, i as createVNode, a$ as mergeProps, _ as _export_sfc, ax as withDirectives, k as createTextVNode, l as unref, ay as vShow, B as normalizeStyle, g as useI18n, fN as orderBy, fO as throttle, h as createElementBlock, f as createCommentVNode, F as Fragment, A as renderList, r as ref, H as watch, o as onMounted, y as nextTick, aw as onBeforeMount, q as computed, J as useDebounce, a as useToast, a3 as useDocumentTitle, p as useSettingsStore, aM as useTemplatesStore, u as useUsersStore, U as useRoute, b as useRouter, eV as onBeforeRouteLeave, fP as CREATOR_HUB_URL, V as VIEWS, cT as resolveDirective, aj as useTelemetry } from "./index-BwoviwZU.js";
|
|
2
|
+
import { N as NodeList, T as TemplateList } from "./TemplateList-B6jscn2o.js";
|
|
3
|
+
import { T as TemplatesView } from "./TemplatesView-CgQelQ-w.js";
|
|
4
4
|
const _hoisted_1$3 = ["textContent"];
|
|
5
5
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "CollectionWorkflowCard",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, j as createBaseVNode, t as toDisplayString, l as unref, g as useI18n, V as VIEWS, m as resolveComponent, _ as _export_sfc, f as createCommentVNode, s as renderSlot } from "./index-
|
|
1
|
+
import { d as defineComponent, b as useRouter, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, j as createBaseVNode, t as toDisplayString, l as unref, g as useI18n, V as VIEWS, m as resolveComponent, _ as _export_sfc, f as createCommentVNode, s as renderSlot } from "./index-BwoviwZU.js";
|
|
2
2
|
const _hoisted_1 = ["textContent"];
|
|
3
3
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "GoBackButton",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __unplugin_components_1 } from "./TemplateDetails-
|
|
2
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
3
|
-
import { d as defineComponent, aM as useTemplatesStore, au as usePostHog, bo as useNodeTypesStore, U as useRoute, b as useRouter, a3 as useDocumentTitle, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, aS as createSlots, w as withCtx, j as createBaseVNode, f as createCommentVNode, n as normalizeClass, i as createVNode, l as unref, h as createElementBlock, k as createTextVNode, t as toDisplayString, g as useI18n, m as resolveComponent, aT as useExternalHooks, aj as useTelemetry, _ as _export_sfc } from "./index-
|
|
4
|
-
import { u as useTemplateWorkflow } from "./templateActions
|
|
5
|
-
import { T as TemplatesView } from "./TemplatesView-
|
|
1
|
+
import { _ as __unplugin_components_1 } from "./TemplateDetails-C0RPBtYu.js";
|
|
2
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-YDi-9g3Y.js";
|
|
3
|
+
import { d as defineComponent, aM as useTemplatesStore, au as usePostHog, bo as useNodeTypesStore, U as useRoute, b as useRouter, a3 as useDocumentTitle, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, aS as createSlots, w as withCtx, j as createBaseVNode, f as createCommentVNode, n as normalizeClass, i as createVNode, l as unref, h as createElementBlock, k as createTextVNode, t as toDisplayString, g as useI18n, m as resolveComponent, aT as useExternalHooks, aj as useTelemetry, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
4
|
+
import { u as useTemplateWorkflow } from "./templateActions-CDiqnge9.js";
|
|
5
|
+
import { T as TemplatesView } from "./TemplatesView-CgQelQ-w.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "TemplatesWorkflowView",
|
|
8
8
|
setup(__props) {
|
package/dist/assets/{TestDefinitionEditView-CwoHUF5w.js → TestDefinitionEditView-Cv4ImQQb.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { f as useCanvasOperations, d as useVueFlow, e as useCanvasMapping, _ as __unplugin_components_0$1 } from "./useCanvasOperations-
|
|
3
|
-
import "./usePinnedData-
|
|
1
|
+
import { hY as useTestDefinitionStore, r as ref, q as computed, d as defineComponent, c as openBlock, h as createElementBlock, F as Fragment, j as createBaseVNode, t as toDisplayString, n as normalizeClass, i as createVNode, e as createBlock, l as unref, g as useI18n, m as resolveComponent, _ as _export_sfc, f as createCommentVNode, w as withCtx, k as createTextVNode, hC as mergeModels, hD as useModel, s as renderSlot, hZ as MetricsChart, h_ as TestRunsTable, T as useWorkflowsStore, bo as useNodeTypesStore, U as useRoute, b as useRouter, o as onMounted, aP as N8nTooltip, C as createEventBus, aa as useCssModule, ax as withDirectives, ay as vShow, h$ as ElCollapseTransition, y as nextTick, A as renderList, hQ as _sfc_main$c, i0 as __unplugin_components_0$2, i1 as SAMPLE_EVALUATION_WORKFLOW, i2 as NODE_PINNING_MODAL_KEY, i3 as __unplugin_components_2, J as useDebounce, a as useToast, hO as useAnnotationTagsStore, K as useUIStore, at as useExecutionsStore, V as VIEWS, Z as useRootStore, H as watch, aj as useTelemetry } from "./index-BwoviwZU.js";
|
|
2
|
+
import { f as useCanvasOperations, d as useVueFlow, e as useCanvasMapping, _ as __unplugin_components_0$1 } from "./useCanvasOperations-DQSiUE8i.js";
|
|
3
|
+
import "./usePinnedData-E0jv55-6.js";
|
|
4
4
|
function useTestDefinitionForm() {
|
|
5
5
|
const evaluationsStore = useTestDefinitionStore();
|
|
6
6
|
const state = ref({
|
|
@@ -1352,6 +1352,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1352
1352
|
const testDefinitionStore = useTestDefinitionStore();
|
|
1353
1353
|
const tagsStore = useAnnotationTagsStore();
|
|
1354
1354
|
const uiStore = useUIStore();
|
|
1355
|
+
const telemetry = useTelemetry();
|
|
1355
1356
|
const executionsStore = useExecutionsStore();
|
|
1356
1357
|
const workflowStore = useWorkflowsStore();
|
|
1357
1358
|
const {
|
|
@@ -1413,6 +1414,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1413
1414
|
name: VIEWS.TEST_DEFINITION_EDIT,
|
|
1414
1415
|
params: { testId: savedTest.id }
|
|
1415
1416
|
});
|
|
1417
|
+
telemetry.track(
|
|
1418
|
+
"User created test",
|
|
1419
|
+
{
|
|
1420
|
+
test_id: savedTest.id,
|
|
1421
|
+
workflow_id: currentWorkflowId.value,
|
|
1422
|
+
session_id: useRootStore().pushRef
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
withPostHog: true
|
|
1426
|
+
}
|
|
1427
|
+
);
|
|
1416
1428
|
}
|
|
1417
1429
|
} catch (e) {
|
|
1418
1430
|
toast.showError(e, locale.baseText("testDefinition.edit.testSaveFailed"));
|
package/dist/assets/{TestDefinitionListView-2tWTEUz0.js → TestDefinitionListView-CywmtGBZ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, l as unref, n as normalizeClass, i as createVNode, g as useI18n, _ as _export_sfc, q as computed, w as withCtx, k as createTextVNode, F as Fragment,
|
|
1
|
+
import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, l as unref, n as normalizeClass, i as createVNode, g as useI18n, _ as _export_sfc, q as computed, w as withCtx, k as createTextVNode, F as Fragment, fD as _sfc_main$4, f as createCommentVNode, A as renderList, e as createBlock, b0 as resolveDynamicComponent, aQ as _sfc_main$5, I as withModifiers, b as useRouter, hO as useAnnotationTagsStore, hY as useTestDefinitionStore, r as ref, a as useToast, o as onMounted, V as VIEWS, ae as MODAL_CONFIRM, ak as useMessage } from "./index-BwoviwZU.js";
|
|
2
2
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "EmptyState",
|
|
4
4
|
emits: ["create-test"],
|
package/dist/assets/{TestDefinitionRootView-gJRxCHz3.js → TestDefinitionRootView-BhZESeJD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, a4 as useWorkflowHelpers, T as useWorkflowsStore, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, m as resolveComponent, _ as _export_sfc } from "./index-
|
|
1
|
+
import { d as defineComponent, b as useRouter, a4 as useWorkflowHelpers, T as useWorkflowsStore, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, m as resolveComponent, _ as _export_sfc } from "./index-BwoviwZU.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "TestDefinitionRootView",
|
|
4
4
|
setup(__props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, b6 as useClipboard, a as useToast, q as computed, c as openBlock, e as createBlock, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, aP as N8nTooltip, g as useI18n, _ as _export_sfc,
|
|
2
|
-
import { R as ResourcesListLayout, p as pickBy } from "./ResourcesListLayout-
|
|
1
|
+
import { d as defineComponent, b6 as useClipboard, a as useToast, q as computed, c as openBlock, e as createBlock, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, aP as N8nTooltip, g as useI18n, _ as _export_sfc, dC as reactive, fQ as toRaw, r as ref, h as createElementBlock, i as createVNode, fR as N8nFormInput, f as createCommentVNode, cv as N8nButton, p as useSettingsStore, dM as useEnvironmentsStore, u as useUsersStore, K as useUIStore, a0 as useSourceControlStore, U as useRoute, b as useRouter, fS as useTemplateRef, fT as useAsyncState, o as onMounted, a3 as useDocumentTitle, aS as createSlots, a$ as mergeProps, fU as N8nActionBox, aZ as normalizeProps, fV as N8nInputLabel, fW as N8nCheckbox, F as Fragment, fX as N8nBadge, fY as uid, ae as MODAL_CONFIRM, a5 as usePageRedirectionHelper, m as resolveComponent, aj as useTelemetry, ak as useMessage, al as getResourcePermissions, a8 as EnterpriseEditionFeature } from "./index-BwoviwZU.js";
|
|
2
|
+
import { R as ResourcesListLayout, p as pickBy } from "./ResourcesListLayout-D2ZxA1Uw.js";
|
|
3
3
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "VariablesUsageBadge",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { d as defineComponent, r as ref, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, s as renderSlot, n as normalizeClass, f as createCommentVNode, _ as _export_sfc, e as createBlock, k as createTextVNode, t as toDisplayString, l as unref, F as Fragment, A as renderList, g as useI18n, b6 as useClipboard, a as useToast,
|
|
3
|
-
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-
|
|
4
|
-
import { u as usePushConnectionStore } from "./pushConnection.store-
|
|
5
|
-
import "./easyAiWorkflowUtils-
|
|
1
|
+
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-DL91BcV8.js";
|
|
2
|
+
import { d as defineComponent, r as ref, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, s as renderSlot, n as normalizeClass, f as createCommentVNode, _ as _export_sfc, e as createBlock, k as createTextVNode, t as toDisplayString, l as unref, F as Fragment, A as renderList, g as useI18n, b6 as useClipboard, a as useToast, hW as Chart, q as computed, aK as sortByProperty, o as onMounted, x as onBeforeUnmount, b as useRouter, a3 as useDocumentTitle, Z as useRootStore, aw as onBeforeMount, aj as useTelemetry, p as useSettingsStore, a5 as usePageRedirectionHelper } from "./index-BwoviwZU.js";
|
|
3
|
+
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-ioPocbvz.js";
|
|
4
|
+
import { u as usePushConnectionStore } from "./pushConnection.store-BlMyXexG.js";
|
|
5
|
+
import "./easyAiWorkflowUtils-WSNP3eeS.js";
|
|
6
6
|
function averageWorkerLoadFromLoads(loads) {
|
|
7
7
|
return loads.reduce((prev, curr) => prev + curr, 0) / loads.length;
|
|
8
8
|
}
|