n8n-editor-ui 1.107.1 → 1.108.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/{AddDataStoreModal-DnuHX1S2.js → AddDataStoreModal-CcU8ivRL.js} +2 -2
- package/dist/assets/{AnimatedSpinner-6v6irDSW.js → AnimatedSpinner-BGiYi74y.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-ozlwYXWj.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B4UDyM0-.js} +1 -1
- package/dist/assets/{AuthView-BJQzJmO7.js → AuthView-DqXEfmiX.js} +2 -2
- package/dist/assets/{ChangePasswordView-AJr06gB_.js → ChangePasswordView-CgU6Vwxx.js} +3 -3
- package/dist/assets/CollectionParameter-DbGwA_bG.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-BW0CieDo.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DqYON-Vj.js} +1 -1
- package/dist/assets/{CredentialsView-CXub2k-f.js → CredentialsView-COb21gvI.js} +8 -8
- package/dist/assets/DataStoreActions.vue_vue_type_script_setup_true_lang-CBAZdMw_.js +83 -0
- package/dist/assets/{WorkflowActivator-22RW64G2.css → DataStoreDetailsView-B0CKO8ZR.css} +106 -323
- package/dist/assets/DataStoreDetailsView-DVe4HV2u.js +36144 -0
- package/dist/assets/{DataStoreView-CM5VvI7D.js → DataStoreView-tq8qGfA7.js} +43 -102
- package/dist/assets/{DemoFooter-B3t7CS9X.js → DemoFooter-B8DOkf8u.js} +6 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-xgH7GJvn.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-FKKhn9iz.js} +1 -1
- package/dist/assets/{EntityNotFound-C3W-Gouk.js → EntityNotFound-C6h0eA_K.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-Du_1dCDH.js → EntityUnAuthorised-rxGqHq24.js} +1 -1
- package/dist/assets/{ErrorView-B4s983XH.js → ErrorView-CoOS09mT.js} +1 -1
- package/dist/assets/{EvaluationsRootView-2xzNr5pT.js → EvaluationsRootView-CeSn3uw2.js} +1 -1
- package/dist/assets/{EvaluationsView-CWy0SffW.js → EvaluationsView-CVHZUgYg.js} +4 -4
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DBWrBSV7.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DmgoWpOT.js} +4 -4
- package/dist/assets/{ExecutionsView-DUoLBkxb.js → ExecutionsView-Ce4DOBay.js} +11 -11
- package/dist/assets/{FixedCollectionParameter-xSZHY6A2.js → FixedCollectionParameter-C_GQZrig.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DgKin1FL.js → ForgotMyPasswordView-BxboaIpv.js} +3 -3
- package/dist/assets/{InfoAccordion-BoIzf-yz.js → InfoAccordion-Bzpvtce8.js} +2 -2
- package/dist/assets/{InsightsChartAverageRuntime-CWGu6ocC.js → InsightsChartAverageRuntime-D0-oomYI.js} +4 -4
- package/dist/assets/{InsightsChartFailed-BBlIfrXu.js → InsightsChartFailed-DVFxva2N.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-CXhB2MIz.js → InsightsChartFailureRate-B88dWE0m.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-C7d5mIdl.js → InsightsChartTimeSaved-Buc4eI6y.js} +4 -4
- package/dist/assets/{InsightsChartTotal-DBS3cVYs.js → InsightsChartTotal-DXVXOXxC.js} +4 -4
- package/dist/assets/{InsightsDashboard-D2CF6m01.js → InsightsDashboard-DFVS_OL_.js} +10 -10
- package/dist/assets/{InsightsPaywall-CWEHpnSN.js → InsightsPaywall-Km_8K9J2.js} +1 -1
- package/dist/assets/{InsightsSummary-7514XMdb.js → InsightsSummary-DNkZvhPU.js} +2 -2
- package/dist/assets/{InsightsTableWorkflows-CQZmCGc2.js → InsightsTableWorkflows-DiN2YxQM.js} +6 -6
- package/dist/assets/{Logo-CtGKRONY.js → Logo-BWRzR7Wn.js} +1 -1
- package/dist/assets/{LogsPanel-B-Tmod-K.css → LogsPanel-BinqqXXh.css} +14 -17
- package/dist/assets/{LogsPanel-CIAt3lTg.js → LogsPanel-myx3jrpV.js} +193 -141
- package/dist/assets/{MainHeader-DmIxSulT.js → MainHeader-DNWdA74A.js} +18 -21
- package/dist/assets/{MainHeader-C7eM_NQZ.css → MainHeader-fMUCh_vG.css} +16 -16
- package/dist/assets/{MainSidebar-IXI0NYYP.js → MainSidebar-BmW_mrdS.js} +62 -69
- package/dist/assets/{NodeCreation-DqXKrY6w.js → NodeCreation-BUeUpyyh.js} +4 -4
- package/dist/assets/{NodeCreator-CI6mRPpP.js → NodeCreator-VtJSoJWS.js} +7 -7
- package/dist/assets/{NodeDetailsView-BLAGih5E.js → NodeDetailsView-DnN_JIq6.js} +14 -14
- package/dist/assets/{NodeDetailsViewV2-zTI7VLUX.js → NodeDetailsViewV2-C5YSDisg.js} +25 -25
- package/dist/assets/{NodeDetailsViewV2-Bn1PbAPe.css → NodeDetailsViewV2-J_3cfdea.css} +15 -15
- package/dist/assets/{NodeView-CFuNDv8s.js → NodeView-EEsI2Qb9.js} +11 -11
- package/dist/assets/ProjectBreadcrumb-B1Hnf5da.css +445 -0
- package/dist/assets/ProjectBreadcrumb-KtxdMyZ2.js +381 -0
- package/dist/assets/{ProjectHeader-CIqf2gpl.js → ProjectHeader-CxfMVVpq.js} +13 -13
- package/dist/assets/{ProjectSettings-DGaIUK8h.js → ProjectSettings-6Jreo2aL.js} +6 -6
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-C3fRIVZH.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-se2FA3gE.js} +2 -2
- package/dist/assets/{ResourcesListLayout-DM01TqXK.js → ResourcesListLayout-CGEmnTS3.js} +3 -3
- package/dist/assets/{RunDataJson-7m3wHhLP.js → RunDataJson-27e01rbG.js} +3 -3
- package/dist/assets/{RunDataJsonActions-CCs-K7u-.js → RunDataJsonActions-Pq9pGbtg.js} +14 -14
- package/dist/assets/{RunDataParsedAiContent-qSEryFRl.js → RunDataParsedAiContent-ChYdnZoY.js} +2 -2
- package/dist/assets/{RunDataSearch-Cn2iAGkx.js → RunDataSearch-Bao0QTKG.js} +1 -1
- package/dist/assets/{RunDataTable-CqcDdqpf.js → RunDataTable-DDzTJ3JW.js} +6 -6
- package/dist/assets/{SamlOnboarding-CExc8LrJ.js → SamlOnboarding-BB5uEOiZ.js} +3 -3
- package/dist/assets/{SettingsApiView-CyzaLF2j.js → SettingsApiView-DZ9pboX5.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-Ci1jidLI.js → SettingsCommunityNodesView-BQkRYZ7e.js} +5 -5
- package/dist/assets/{SettingsExternalSecrets-JWxQMJpD.js → SettingsExternalSecrets-9-qgYZR9.js} +1 -1
- package/dist/assets/{SettingsLdapView-BjZFbcTn.js → SettingsLdapView-spVmQTIx.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DvWmdSgA.js → SettingsLogStreamingView-ddQEmI4T.js} +1 -1
- package/dist/assets/{SettingsPersonalView-DqrkCtlS.js → SettingsPersonalView-C8mXyr0Q.js} +2 -2
- package/dist/assets/{SettingsSourceControl-N9lSG0gK.js → SettingsSourceControl-CVN0s2_s.js} +2 -2
- package/dist/assets/{SettingsSso-lzPmnXZl.js → SettingsSso-DzOZtqbm.js} +2 -2
- package/dist/assets/{SettingsUsageAndPlan-BF2mv_rX.js → SettingsUsageAndPlan-PsFfrcUO.js} +2 -2
- package/dist/assets/{SettingsUsersView-TueQ1ATe.js → SettingsUsersView-GxaXbEvy.js} +3 -3
- package/dist/assets/{SettingsView-TKZutR1C.js → SettingsView-BCoTKvcx.js} +1 -1
- package/dist/assets/{SetupView-DAFe0s88.js → SetupView-C06fPC4v.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-D_e5xPYq.js → SetupWorkflowCredentialsButton-CCPj0w2n.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-C40rZsY1.js → SetupWorkflowFromTemplateView-Dnr-rj0a.js} +4 -4
- package/dist/assets/{SigninView-rw-BhvFO.js → SigninView-Dxq1og5D.js} +3 -3
- package/dist/assets/{SignoutView-hmcLIumg.js → SignoutView-DwF2lrt7.js} +1 -1
- package/dist/assets/{SignupView-B8utUMjA.js → SignupView-D0gT_70z.js} +3 -3
- package/dist/assets/{TableBase-Dg9jrpSs.js → TableBase-2nDRjPs3.js} +1 -1
- package/dist/assets/{Tag-DBkUcYd_.js → Tag-Tw1H92yc.js} +1 -1
- package/dist/assets/{Tags-BABZPMfc.js → Tags-CEn7oy-s.js} +2 -2
- package/dist/assets/{TemplateDetails-DY7lPygm.js → TemplateDetails-B1pZ8rnr.js} +2 -2
- package/dist/assets/{TemplateList-UnYTakQQ.js → TemplateList-upDgcS5V.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-DTVw3VF0.js → TemplatesCollectionView-DHHYqexd.js} +7 -7
- package/dist/assets/{TemplatesSearchView-DolE_9AA.js → TemplatesSearchView-DGylmvaI.js} +3 -3
- package/dist/assets/{TemplatesView-CwNytFHx.js → TemplatesView-B6r6jI04.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-iSKd7uht.js → TemplatesWorkflowView-BqG7obFC.js} +7 -7
- package/dist/assets/{TriggerPanel-BTLbaSMz.js → TriggerPanel-Dvg3vyEj.js} +8 -8
- package/dist/assets/{VariablesView-Dk54OZ1f.js → VariablesView-CIF4byrk.js} +9 -9
- package/dist/assets/{WorkerView-CwuTFYrO.js → WorkerView-D8GP454l.js} +6 -6
- package/dist/assets/{WorkflowActivator-DH6Riyap.js → WorkflowActivator-B0pgQoO2.js} +13 -389
- package/dist/assets/WorkflowActivator-jI4sUqXL.css +391 -0
- package/dist/assets/{WorkflowExecutionsInfoAccordion-CP2uh-PB.js → WorkflowExecutionsInfoAccordion-BnUikOj6.js} +3 -3
- package/dist/assets/{WorkflowExecutionsLandingPage-BoIaBPDG.js → WorkflowExecutionsLandingPage-D4kNQVnJ.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-C11ZxZ-4.js → WorkflowExecutionsPreview-B-sIs_Ug.js} +4 -4
- package/dist/assets/{WorkflowExecutionsView-5rikocSa.js → WorkflowExecutionsView-DtcP0ex6.js} +8 -8
- package/dist/assets/{WorkflowHistory-Cph_B-2a.js → WorkflowHistory-Dv2LNjb3.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-CTo8mbw7.js → WorkflowOnboardingView-CHwiWIpr.js} +1 -1
- package/dist/assets/{WorkflowPreview-fJy3X_xW.js → WorkflowPreview-DCXLvUc4.js} +1 -1
- package/dist/assets/{WorkflowsView-eYGsq80b.css → WorkflowsView-BuvoAeDm.css} +18 -17
- package/dist/assets/{WorkflowsView-mdIBSRa_.js → WorkflowsView-Ck9uagLz.js} +36 -69
- package/dist/assets/{canvas-DenCY4AJ.js → canvas-DFP0pMz9.js} +1 -1
- package/dist/assets/{chartjs.utils-BlhTVSE9.js → chartjs.utils-Qwffxtza.js} +2 -2
- package/dist/assets/{core-lMJc92pa.js → core-VLDylmke.js} +9 -8
- package/dist/assets/{dataStore.store-CDiWuK8E.js → dataStore.store-Daf-vbcV.js} +57 -6
- package/dist/assets/{en-B7EAgfR5.js → en-BGDurvS-.js} +29 -9
- package/dist/assets/{global-link-actions-D18bp17X.js → global-link-actions-C1gEbCDx.js} +1 -1
- package/dist/assets/{index-Cpz83ovC.js → index-BRttPpfs.js} +1 -1
- package/dist/assets/{index-BFyMw9-0.css → index-C6NR226r.css} +213 -224
- package/dist/assets/{index-CxleUtlq.js → index-CRQJ7x6N.js} +6192 -5720
- package/dist/assets/{pickBy-D7GSyF5E.js → pickBy-B8xTSNTq.js} +1 -1
- package/dist/assets/{polyfills-eMEFRc79.js → polyfills-BhZQ1FDI.js} +44 -0
- package/dist/assets/{readyToRunWorkflows.store-Dz_KLa8_.js → readyToRunWorkflows.store-BDC-qUEi.js} +35 -3
- package/dist/assets/{templateActions-xbNJmRy6.js → templateActions-U_KRhAMr.js} +1 -1
- package/dist/assets/{typescript.worker-ku8s_Oaf.js → typescript.worker-BcoVIdo9.js} +8 -8
- package/dist/assets/{useBeforeUnload-D0WL7mpb.js → useBeforeUnload-B7UlIqac.js} +1 -1
- package/dist/assets/{useExecutionDebugging-Bd_2vpLq.js → useExecutionDebugging-CTEsfGpb.js} +1 -1
- package/dist/assets/{useImportCurlCommand-Cyf8dlDO.js → useImportCurlCommand-vVItCXQc.js} +35 -35
- package/dist/assets/{useProjectPages-BpsdwyKW.js → useProjectPages-CzVikbfF.js} +1 -1
- package/dist/assets/{usePushConnection-BaTxjUZd.js → usePushConnection-CI0nRouW.js} +3 -3
- package/dist/assets/{useWorkflowActivate-DrpskU4R.js → useWorkflowActivate-CT-jqMSY.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-78DalTOi.js +0 -4
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
import { d as defineComponent, r as ref, x as computed, af as watch, h as createElementBlock, g as openBlock, n as normalizeClass, Q as renderSlot, j as createBaseVNode, f as createCommentVNode, t as toDisplayString, e as createBlock, i as createVNode, l as unref, e6 as N8nActionToggle, w as withCtx, p as N8nText, k as createTextVNode, a4 as Tooltip, dD as N8nLoading, F as Fragment, A as renderList, B as withModifiers, C as N8nLink, _ as _export_sfc, aF as ProjectTypes, fj as isIconOrEmoji, c as useI18n, fk as __unplugin_components_0$1 } from "./index-CRQJ7x6N.js";
|
|
2
|
+
const _hoisted_1 = { "data-test-id": "hidden-items-tooltip" };
|
|
3
|
+
const _hoisted_2 = ["title", "data-resourceid", "onClick", "onMouseenter", "onMouseup"];
|
|
4
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
5
|
+
...{ name: "N8nBreadcrumbs" },
|
|
6
|
+
__name: "Breadcrumbs",
|
|
7
|
+
props: {
|
|
8
|
+
items: {},
|
|
9
|
+
hiddenItems: { default: () => new Array() },
|
|
10
|
+
theme: { default: "medium" },
|
|
11
|
+
showBorder: { type: Boolean, default: false },
|
|
12
|
+
loadingSkeletonRows: { default: 3 },
|
|
13
|
+
separator: { default: "/" },
|
|
14
|
+
highlightLastItem: { type: Boolean, default: true },
|
|
15
|
+
hiddenItemsTrigger: { default: "click" },
|
|
16
|
+
pathTruncated: { type: Boolean, default: false },
|
|
17
|
+
dragActive: { type: Boolean, default: false }
|
|
18
|
+
},
|
|
19
|
+
emits: ["tooltipOpened", "tooltipClosed", "hiddenItemsLoadingError", "itemSelected", "itemHover", "itemDrop"],
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
21
|
+
const emit = __emit;
|
|
22
|
+
const props = __props;
|
|
23
|
+
const loadedHiddenItems = ref([]);
|
|
24
|
+
const isLoadingHiddenItems = ref(false);
|
|
25
|
+
const currentPromise = ref(null);
|
|
26
|
+
const hasHiddenItems = computed(() => {
|
|
27
|
+
return Array.isArray(props.hiddenItems) ? props.hiddenItems.length > 0 : props.hiddenItems !== void 0;
|
|
28
|
+
});
|
|
29
|
+
const showEllipsis = computed(() => {
|
|
30
|
+
return props.items.length && (hasHiddenItems.value || props.pathTruncated);
|
|
31
|
+
});
|
|
32
|
+
const dropdownDisabled = computed(() => {
|
|
33
|
+
return props.pathTruncated && !hasHiddenItems.value;
|
|
34
|
+
});
|
|
35
|
+
const hiddenItemActions = computed(() => {
|
|
36
|
+
return loadedHiddenItems.value.map((item2) => ({
|
|
37
|
+
value: item2.id,
|
|
38
|
+
label: item2.label,
|
|
39
|
+
disabled: false
|
|
40
|
+
}));
|
|
41
|
+
});
|
|
42
|
+
const getHiddenItems = async () => {
|
|
43
|
+
if (loadedHiddenItems.value.length > 0 && props.hiddenItems === currentPromise.value) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
if (Array.isArray(props.hiddenItems)) {
|
|
47
|
+
loadedHiddenItems.value = props.hiddenItems;
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
isLoadingHiddenItems.value = true;
|
|
51
|
+
try {
|
|
52
|
+
currentPromise.value = props.hiddenItems;
|
|
53
|
+
const items = await props.hiddenItems;
|
|
54
|
+
loadedHiddenItems.value = items;
|
|
55
|
+
} catch (error) {
|
|
56
|
+
loadedHiddenItems.value = [];
|
|
57
|
+
emit("hiddenItemsLoadingError", error);
|
|
58
|
+
} finally {
|
|
59
|
+
isLoadingHiddenItems.value = false;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
watch(
|
|
63
|
+
() => props.hiddenItems,
|
|
64
|
+
(_newValue) => {
|
|
65
|
+
void getHiddenItems();
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
const onHiddenMenuVisibleChange = async (visible) => {
|
|
69
|
+
if (visible) {
|
|
70
|
+
emit("tooltipOpened");
|
|
71
|
+
await getHiddenItems();
|
|
72
|
+
} else {
|
|
73
|
+
emit("tooltipClosed");
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
const emitItemSelected = (id) => {
|
|
77
|
+
const item2 = [...props.items, ...loadedHiddenItems.value].find((i) => i.id === id);
|
|
78
|
+
if (!item2) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
emit("itemSelected", item2);
|
|
82
|
+
};
|
|
83
|
+
const emitItemHover = (id) => {
|
|
84
|
+
const item2 = [...props.items, ...loadedHiddenItems.value].find((i) => i.id === id);
|
|
85
|
+
if (!item2) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
emit("itemHover", item2);
|
|
89
|
+
};
|
|
90
|
+
const onHiddenItemMouseUp = (item2) => {
|
|
91
|
+
const pathItem = [...props.items, ...loadedHiddenItems.value].find((i) => i.id === item2.value);
|
|
92
|
+
if (!pathItem || !props.dragActive) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
emit("itemDrop", pathItem);
|
|
96
|
+
};
|
|
97
|
+
const onItemMouseUp = (item2) => {
|
|
98
|
+
if (!props.dragActive) {
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
emit("itemDrop", item2);
|
|
102
|
+
};
|
|
103
|
+
const handleTooltipShow = async () => {
|
|
104
|
+
emit("tooltipOpened");
|
|
105
|
+
await getHiddenItems();
|
|
106
|
+
};
|
|
107
|
+
const handleTooltipClose = () => {
|
|
108
|
+
emit("tooltipClosed");
|
|
109
|
+
};
|
|
110
|
+
return (_ctx, _cache) => {
|
|
111
|
+
return openBlock(), createElementBlock("div", {
|
|
112
|
+
class: normalizeClass({
|
|
113
|
+
[_ctx.$style.container]: true,
|
|
114
|
+
[_ctx.$style.border]: props.showBorder,
|
|
115
|
+
[_ctx.$style[props.theme]]: true,
|
|
116
|
+
["n8n-breadcrumbs"]: true
|
|
117
|
+
})
|
|
118
|
+
}, [
|
|
119
|
+
renderSlot(_ctx.$slots, "prepend"),
|
|
120
|
+
createBaseVNode("ul", {
|
|
121
|
+
class: normalizeClass(_ctx.$style.list)
|
|
122
|
+
}, [
|
|
123
|
+
_ctx.$slots.prepend && _ctx.items.length ? (openBlock(), createElementBlock("li", {
|
|
124
|
+
key: 0,
|
|
125
|
+
class: normalizeClass(_ctx.$style.separator)
|
|
126
|
+
}, toDisplayString(_ctx.separator), 3)) : createCommentVNode("", true),
|
|
127
|
+
showEllipsis.value ? (openBlock(), createElementBlock("li", {
|
|
128
|
+
key: 1,
|
|
129
|
+
class: normalizeClass({ [_ctx.$style.ellipsis]: true, [_ctx.$style.disabled]: dropdownDisabled.value }),
|
|
130
|
+
"data-test-id": "ellipsis"
|
|
131
|
+
}, [
|
|
132
|
+
props.theme !== "small" ? (openBlock(), createElementBlock("div", {
|
|
133
|
+
key: 0,
|
|
134
|
+
class: normalizeClass(_ctx.$style["hidden-items-menu"])
|
|
135
|
+
}, [
|
|
136
|
+
createVNode(unref(N8nActionToggle), {
|
|
137
|
+
actions: hiddenItemActions.value,
|
|
138
|
+
loading: isLoadingHiddenItems.value,
|
|
139
|
+
"loading-row-count": _ctx.loadingSkeletonRows,
|
|
140
|
+
disabled: dropdownDisabled.value,
|
|
141
|
+
class: normalizeClass(_ctx.$style["action-toggle"]),
|
|
142
|
+
"popper-class": `${_ctx.$style["hidden-items-menu-popper"]} ${_ctx.dragActive ? _ctx.$style.dragging : ""}`,
|
|
143
|
+
trigger: _ctx.hiddenItemsTrigger,
|
|
144
|
+
theme: "dark",
|
|
145
|
+
placement: "bottom",
|
|
146
|
+
size: "small",
|
|
147
|
+
"icon-orientation": "horizontal",
|
|
148
|
+
"data-test-id": "hidden-items-menu",
|
|
149
|
+
onVisibleChange: onHiddenMenuVisibleChange,
|
|
150
|
+
onAction: emitItemSelected,
|
|
151
|
+
onItemMouseup: onHiddenItemMouseUp
|
|
152
|
+
}, {
|
|
153
|
+
default: withCtx(() => [
|
|
154
|
+
createVNode(unref(N8nText), {
|
|
155
|
+
bold: true,
|
|
156
|
+
class: normalizeClass(_ctx.$style.dots)
|
|
157
|
+
}, {
|
|
158
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
159
|
+
createTextVNode("...")
|
|
160
|
+
])),
|
|
161
|
+
_: 1
|
|
162
|
+
}, 8, ["class"])
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
}, 8, ["actions", "loading", "loading-row-count", "disabled", "class", "popper-class", "trigger"])
|
|
166
|
+
], 2)) : (openBlock(), createBlock(unref(Tooltip), {
|
|
167
|
+
key: 1,
|
|
168
|
+
"popper-class": _ctx.$style.tooltip,
|
|
169
|
+
disabled: dropdownDisabled.value,
|
|
170
|
+
trigger: _ctx.hiddenItemsTrigger,
|
|
171
|
+
placement: "bottom",
|
|
172
|
+
onBeforeShow: handleTooltipShow,
|
|
173
|
+
onHide: handleTooltipClose
|
|
174
|
+
}, {
|
|
175
|
+
content: withCtx(() => [
|
|
176
|
+
isLoadingHiddenItems.value ? (openBlock(), createElementBlock("div", {
|
|
177
|
+
key: 0,
|
|
178
|
+
class: normalizeClass(_ctx.$style["tooltip-loading"])
|
|
179
|
+
}, [
|
|
180
|
+
createVNode(unref(N8nLoading), {
|
|
181
|
+
rows: 1,
|
|
182
|
+
loading: isLoadingHiddenItems.value,
|
|
183
|
+
animated: "",
|
|
184
|
+
variant: "p",
|
|
185
|
+
"shrink-last": false
|
|
186
|
+
}, null, 8, ["loading"])
|
|
187
|
+
], 2)) : (openBlock(), createElementBlock("div", {
|
|
188
|
+
key: 1,
|
|
189
|
+
class: normalizeClass(_ctx.$style.tooltipContent)
|
|
190
|
+
}, [
|
|
191
|
+
createBaseVNode("div", _hoisted_1, [
|
|
192
|
+
createVNode(unref(N8nText), null, {
|
|
193
|
+
default: withCtx(() => [
|
|
194
|
+
createTextVNode(toDisplayString(loadedHiddenItems.value.map((item2) => item2.label).join(" / ")), 1)
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
})
|
|
198
|
+
])
|
|
199
|
+
], 2))
|
|
200
|
+
]),
|
|
201
|
+
default: withCtx(() => [
|
|
202
|
+
createBaseVNode("span", {
|
|
203
|
+
class: normalizeClass(_ctx.$style["tooltip-ellipsis"])
|
|
204
|
+
}, "...", 2)
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["popper-class", "disabled", "trigger"]))
|
|
208
|
+
], 2)) : createCommentVNode("", true),
|
|
209
|
+
showEllipsis.value ? (openBlock(), createElementBlock("li", {
|
|
210
|
+
key: 2,
|
|
211
|
+
class: normalizeClass(_ctx.$style.separator)
|
|
212
|
+
}, toDisplayString(_ctx.separator), 3)) : createCommentVNode("", true),
|
|
213
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item2, index) => {
|
|
214
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
215
|
+
key: item2.id
|
|
216
|
+
}, [
|
|
217
|
+
createBaseVNode("li", {
|
|
218
|
+
class: normalizeClass({
|
|
219
|
+
[_ctx.$style.item]: true,
|
|
220
|
+
[_ctx.$style.current]: props.highlightLastItem && index === _ctx.items.length - 1,
|
|
221
|
+
[_ctx.$style.dragging]: props.dragActive
|
|
222
|
+
}),
|
|
223
|
+
title: item2.label,
|
|
224
|
+
"data-resourceid": item2.id,
|
|
225
|
+
"data-test-id": "breadcrumbs-item",
|
|
226
|
+
"data-target": "folder-breadcrumb-item",
|
|
227
|
+
onClick: withModifiers(($event) => emitItemSelected(item2.id), ["prevent"]),
|
|
228
|
+
onMouseenter: ($event) => emitItemHover(item2.id),
|
|
229
|
+
onMouseup: ($event) => onItemMouseUp(item2)
|
|
230
|
+
}, [
|
|
231
|
+
item2.href ? (openBlock(), createBlock(unref(N8nLink), {
|
|
232
|
+
key: 0,
|
|
233
|
+
href: item2.href,
|
|
234
|
+
theme: "text"
|
|
235
|
+
}, {
|
|
236
|
+
default: withCtx(() => [
|
|
237
|
+
createTextVNode(toDisplayString(item2.label), 1)
|
|
238
|
+
]),
|
|
239
|
+
_: 2
|
|
240
|
+
}, 1032, ["href"])) : (openBlock(), createBlock(unref(N8nText), { key: 1 }, {
|
|
241
|
+
default: withCtx(() => [
|
|
242
|
+
createTextVNode(toDisplayString(item2.label), 1)
|
|
243
|
+
]),
|
|
244
|
+
_: 2
|
|
245
|
+
}, 1024))
|
|
246
|
+
], 42, _hoisted_2),
|
|
247
|
+
index !== _ctx.items.length - 1 ? (openBlock(), createElementBlock("li", {
|
|
248
|
+
key: 0,
|
|
249
|
+
class: normalizeClass(_ctx.$style.separator)
|
|
250
|
+
}, toDisplayString(_ctx.separator), 3)) : createCommentVNode("", true)
|
|
251
|
+
], 64);
|
|
252
|
+
}), 128))
|
|
253
|
+
], 2),
|
|
254
|
+
renderSlot(_ctx.$slots, "append")
|
|
255
|
+
], 2);
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
const container = "_container_1kcxp_123";
|
|
260
|
+
const small = "_small_1kcxp_127";
|
|
261
|
+
const border = "_border_1kcxp_131";
|
|
262
|
+
const list = "_list_1kcxp_136";
|
|
263
|
+
const item = "_item_1kcxp_142";
|
|
264
|
+
const dragging$1 = "_dragging_1kcxp_146";
|
|
265
|
+
const current = "_current_1kcxp_162";
|
|
266
|
+
const ellipsis = "_ellipsis_1kcxp_166";
|
|
267
|
+
const dots = "_dots_1kcxp_166";
|
|
268
|
+
const disabled = "_disabled_1kcxp_172";
|
|
269
|
+
const tooltip = "_tooltip_1kcxp_167";
|
|
270
|
+
const separator = "_separator_1kcxp_257";
|
|
271
|
+
const medium = "_medium_1kcxp_262";
|
|
272
|
+
const style0$1 = {
|
|
273
|
+
container,
|
|
274
|
+
small,
|
|
275
|
+
border,
|
|
276
|
+
list,
|
|
277
|
+
item,
|
|
278
|
+
dragging: dragging$1,
|
|
279
|
+
current,
|
|
280
|
+
ellipsis,
|
|
281
|
+
dots,
|
|
282
|
+
"tooltip-ellipsis": "_tooltip-ellipsis_1kcxp_167",
|
|
283
|
+
disabled,
|
|
284
|
+
"hidden-items-menu": "_hidden-items-menu_1kcxp_184",
|
|
285
|
+
"hidden-items-menu-popper": "_hidden-items-menu-popper_1kcxp_189",
|
|
286
|
+
"tooltip-loading": "_tooltip-loading_1kcxp_205",
|
|
287
|
+
tooltip,
|
|
288
|
+
separator,
|
|
289
|
+
medium
|
|
290
|
+
};
|
|
291
|
+
const cssModules$1 = {
|
|
292
|
+
"$style": style0$1
|
|
293
|
+
};
|
|
294
|
+
const Breadcrumbs = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
|
|
295
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
296
|
+
__name: "ProjectBreadcrumb",
|
|
297
|
+
props: {
|
|
298
|
+
currentProject: {},
|
|
299
|
+
isDragging: { type: Boolean, default: false }
|
|
300
|
+
},
|
|
301
|
+
emits: ["projectHover", "projectDrop"],
|
|
302
|
+
setup(__props, { emit: __emit }) {
|
|
303
|
+
const props = __props;
|
|
304
|
+
const emit = __emit;
|
|
305
|
+
const i18n = useI18n();
|
|
306
|
+
const projectIcon = computed(() => {
|
|
307
|
+
if (props.currentProject?.type === ProjectTypes.Personal) {
|
|
308
|
+
return { type: "icon", value: "user" };
|
|
309
|
+
} else if (props.currentProject?.name) {
|
|
310
|
+
return isIconOrEmoji(props.currentProject.icon) ? props.currentProject.icon : { type: "icon", value: "layers" };
|
|
311
|
+
} else {
|
|
312
|
+
return { type: "icon", value: "house" };
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
const projectName = computed(() => {
|
|
316
|
+
if (props.currentProject.type === ProjectTypes.Personal) {
|
|
317
|
+
return i18n.baseText("projects.menu.personal");
|
|
318
|
+
}
|
|
319
|
+
return props.currentProject.name;
|
|
320
|
+
});
|
|
321
|
+
const onHover = () => {
|
|
322
|
+
emit("projectHover");
|
|
323
|
+
};
|
|
324
|
+
const onProjectMouseUp = () => {
|
|
325
|
+
if (props.isDragging) {
|
|
326
|
+
emit("projectDrop");
|
|
327
|
+
}
|
|
328
|
+
};
|
|
329
|
+
return (_ctx, _cache) => {
|
|
330
|
+
const _component_ProjectIcon = __unplugin_components_0$1;
|
|
331
|
+
const _component_N8nText = N8nText;
|
|
332
|
+
const _component_n8n_link = N8nLink;
|
|
333
|
+
return openBlock(), createElementBlock("div", {
|
|
334
|
+
class: normalizeClass({ [_ctx.$style["home-project"]]: true, [_ctx.$style.dragging]: _ctx.isDragging }),
|
|
335
|
+
"data-test-id": "home-project",
|
|
336
|
+
onMouseenter: onHover,
|
|
337
|
+
onMouseup: _cache[0] || (_cache[0] = ($event) => _ctx.isDragging ? onProjectMouseUp() : null)
|
|
338
|
+
}, [
|
|
339
|
+
createVNode(_component_n8n_link, {
|
|
340
|
+
to: `/projects/${_ctx.currentProject.id}`,
|
|
341
|
+
class: normalizeClass([_ctx.$style["project-link"]])
|
|
342
|
+
}, {
|
|
343
|
+
default: withCtx(() => [
|
|
344
|
+
createVNode(_component_ProjectIcon, {
|
|
345
|
+
icon: projectIcon.value,
|
|
346
|
+
"border-less": true,
|
|
347
|
+
size: "mini",
|
|
348
|
+
title: projectName.value
|
|
349
|
+
}, null, 8, ["icon", "title"]),
|
|
350
|
+
createVNode(_component_N8nText, {
|
|
351
|
+
size: "medium",
|
|
352
|
+
color: "text-base",
|
|
353
|
+
class: normalizeClass(_ctx.$style["project-label"])
|
|
354
|
+
}, {
|
|
355
|
+
default: withCtx(() => [
|
|
356
|
+
createTextVNode(toDisplayString(projectName.value), 1)
|
|
357
|
+
]),
|
|
358
|
+
_: 1
|
|
359
|
+
}, 8, ["class"])
|
|
360
|
+
]),
|
|
361
|
+
_: 1
|
|
362
|
+
}, 8, ["to", "class"])
|
|
363
|
+
], 34);
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
const dragging = "_dragging_1gp09_128";
|
|
368
|
+
const style0 = {
|
|
369
|
+
"home-project": "_home-project_1gp09_123",
|
|
370
|
+
dragging,
|
|
371
|
+
"project-link": "_project-link_1gp09_141",
|
|
372
|
+
"project-label": "_project-label_1gp09_148"
|
|
373
|
+
};
|
|
374
|
+
const cssModules = {
|
|
375
|
+
"$style": style0
|
|
376
|
+
};
|
|
377
|
+
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
378
|
+
export {
|
|
379
|
+
Breadcrumbs as B,
|
|
380
|
+
__unplugin_components_0 as _
|
|
381
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, aa as useRoute, r as ref, x as computed, V as VIEWS, c as useI18n, af as watch, e as createBlock, g as openBlock,
|
|
2
|
-
import { u as useProjectPages } from "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, aa as useRoute, r as ref, x as computed, V as VIEWS, c as useI18n, af as watch, e as createBlock, g as openBlock, g8 as N8nTabs, aG as useTemplateRef, h as createElementBlock, n as normalizeClass, Q as renderSlot, i as createVNode, l as unref, e6 as N8nActionToggle, w as withCtx, a5 as _sfc_main$3, _ as _export_sfc, b as useRouter, au as useProjectsStore, aj as useSourceControlStore, v as useSettingsStore, Z as useUIStore, aF as ProjectTypes, fj as isIconOrEmoji, aB as getResourcePermissions, g9 as useElementSize, ga as useResizeObserver, j as createBaseVNode, f as createCommentVNode, fk as __unplugin_components_0, m as N8nHeading, k as createTextVNode, t as toDisplayString, p as N8nText, q as N8nButton, K as mergeProps, a4 as Tooltip } from "./index-CRQJ7x6N.js";
|
|
2
|
+
import { u as useProjectPages } from "./useProjectPages-CzVikbfF.js";
|
|
3
3
|
function processDynamicTab(tab, projectId) {
|
|
4
4
|
if (!tab.dynamicRoute) {
|
|
5
5
|
return tab;
|
|
@@ -209,10 +209,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
209
209
|
});
|
|
210
210
|
const projectName = computed(() => {
|
|
211
211
|
if (!projectsStore.currentProject) {
|
|
212
|
-
if (projectPages.
|
|
213
|
-
return i18n.baseText("projects.menu.overview");
|
|
214
|
-
} else if (projectPages.isSharedSubPage) {
|
|
212
|
+
if (projectPages.isSharedSubPage) {
|
|
215
213
|
return i18n.baseText("projects.header.shared.title");
|
|
214
|
+
} else if (projectPages.isOverviewSubPage) {
|
|
215
|
+
return i18n.baseText("projects.menu.overview");
|
|
216
216
|
}
|
|
217
217
|
return null;
|
|
218
218
|
} else if (projectsStore.currentProject.type === ProjectTypes.Personal) {
|
|
@@ -308,24 +308,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
310
|
},
|
|
311
|
-
[ACTION_TYPES.FOLDER]:
|
|
311
|
+
[ACTION_TYPES.FOLDER]: () => {
|
|
312
312
|
emit("createFolder");
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
const pageType = computed(() => {
|
|
316
|
-
if (projectPages.
|
|
317
|
-
return "overview";
|
|
318
|
-
} else if (projectPages.isSharedSubPage) {
|
|
316
|
+
if (projectPages.isSharedSubPage) {
|
|
319
317
|
return "shared";
|
|
318
|
+
} else if (projectPages.isOverviewSubPage) {
|
|
319
|
+
return "overview";
|
|
320
320
|
} else {
|
|
321
321
|
return "project";
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
324
|
const sectionDescription = computed(() => {
|
|
325
|
-
if (projectPages.
|
|
326
|
-
return i18n.baseText("projects.header.overview.subtitle");
|
|
327
|
-
} else if (projectPages.isSharedSubPage) {
|
|
325
|
+
if (projectPages.isSharedSubPage) {
|
|
328
326
|
return i18n.baseText("projects.header.shared.subtitle");
|
|
327
|
+
} else if (projectPages.isOverviewSubPage) {
|
|
328
|
+
return i18n.baseText("projects.header.overview.subtitle");
|
|
329
329
|
} else if (isPersonalProject.value) {
|
|
330
330
|
return i18n.baseText("projects.header.personal.subtitle");
|
|
331
331
|
}
|
|
@@ -448,7 +448,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
448
448
|
ref: headerActionsRef,
|
|
449
449
|
class: normalizeClass([_ctx.$style.headerActions])
|
|
450
450
|
}, [
|
|
451
|
-
createVNode(unref(
|
|
451
|
+
createVNode(unref(Tooltip), {
|
|
452
452
|
disabled: !unref(sourceControlStore).preferences.branchReadOnly,
|
|
453
453
|
content: unref(i18n).baseText("readOnlyEnv.cantAdd.any")
|
|
454
454
|
}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, x as computed, e as createBlock, g as openBlock,
|
|
2
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
3
|
-
import "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, r as ref, x as computed, e as createBlock, g as openBlock, bp as createSlots, w as withCtx, Q as renderSlot, h as createElementBlock, F as Fragment, A as renderList, l as unref, e2 as _sfc_main$5, n as normalizeClass, i as createVNode, J as N8nUserInfo, K as mergeProps, D as useI18n, e1 as N8nSelect, _ as _export_sfc, e8 as mergeModels, e9 as useModel, bo as onClickOutside, j as createBaseVNode, f as createCommentVNode, a4 as Tooltip, a5 as _sfc_main$6, q as N8nButton, k as createTextVNode, t as toDisplayString, g8 as N8nTabs, N as N8nIcon, c as useI18n$1, T as resolveComponent, p as N8nText, fu as ProjectSharing, d_ as N8nInputLabel, cT as N8nInput, B as withModifiers, aA as usePageRedirectionHelper, a6 as I18nT, u as useUsersStore, au as useProjectsStore, gk as useRolesStore, bb as useCloudPlanStore, a as useToast, b as useRouter, ax as useDocumentTitle, af as watch, b1 as onBeforeMount, o as onMounted, eQ as N8nFormInput, gl as N8nUsersList, dI as deepCopy, V as VIEWS, ap as useTelemetry, R as nextTick, fj as isIconOrEmoji } from "./index-CRQJ7x6N.js";
|
|
2
|
+
import { P as ProjectHeader } from "./ProjectHeader-CxfMVVpq.js";
|
|
3
|
+
import "./useProjectPages-CzVikbfF.js";
|
|
4
4
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "UserSelect",
|
|
6
6
|
props: {
|
|
@@ -116,7 +116,7 @@ function isEmojiSupported(unicode) {
|
|
|
116
116
|
cache.set(unicode, supported);
|
|
117
117
|
return supported;
|
|
118
118
|
}
|
|
119
|
-
var isSupported = function() {
|
|
119
|
+
var isSupported = (function() {
|
|
120
120
|
var ctx = null;
|
|
121
121
|
try {
|
|
122
122
|
ctx = document.createElement("canvas").getContext("2d");
|
|
@@ -159,7 +159,7 @@ var isSupported = function() {
|
|
|
159
159
|
}
|
|
160
160
|
return true;
|
|
161
161
|
};
|
|
162
|
-
}();
|
|
162
|
+
})();
|
|
163
163
|
const ALL_ICON_PICKER_ICONS = [
|
|
164
164
|
"folder-plus",
|
|
165
165
|
"share",
|
|
@@ -421,7 +421,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
421
421
|
createBaseVNode("div", {
|
|
422
422
|
class: normalizeClass(_ctx.$style["icon-picker-button"])
|
|
423
423
|
}, [
|
|
424
|
-
createVNode(unref(
|
|
424
|
+
createVNode(unref(Tooltip), {
|
|
425
425
|
placement: "right",
|
|
426
426
|
"data-test-id": "icon-picker-tooltip"
|
|
427
427
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, a8 as usePushConnectionStore, x as computed,
|
|
1
|
+
import { d as defineComponent, a8 as usePushConnectionStore, x as computed, ca as resolveDirective, h as createElementBlock, g as openBlock, Q as renderSlot, i as createVNode, a4 as Tooltip, w as withCtx, j as createBaseVNode, k as createTextVNode, N as N8nIcon, t as toDisplayString, l as unref, c as useI18n, b2 as withDirectives } from "./index-CRQJ7x6N.js";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "push-connection-lost primary-color"
|
|
@@ -13,7 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
});
|
|
14
14
|
return (_ctx, _cache) => {
|
|
15
15
|
const _component_n8n_icon = N8nIcon;
|
|
16
|
-
const _component_n8n_tooltip =
|
|
16
|
+
const _component_n8n_tooltip = Tooltip;
|
|
17
17
|
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
18
18
|
return openBlock(), createElementBlock("span", null, [
|
|
19
19
|
showConnectionLostError.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, x as computed, h as createElementBlock, g as openBlock, i as createVNode, j as createBaseVNode, w as withCtx, F as Fragment, A as renderList, U as normalizeStyle, n as normalizeClass, t as toDisplayString, Q as renderSlot, e as createBlock,
|
|
2
|
-
import { N as N8nTableBase } from "./TableBase-
|
|
3
|
-
import { u as useProjectPages } from "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, r as ref, x as computed, h as createElementBlock, g as openBlock, i as createVNode, j as createBaseVNode, w as withCtx, F as Fragment, A as renderList, U as normalizeStyle, n as normalizeClass, t as toDisplayString, Q as renderSlot, e as createBlock, c2 as resolveDynamicComponent, l as unref, f as createCommentVNode, ft as _sfc_main$6, e2 as _sfc_main$7, k as createTextVNode, D as useI18n, e1 as N8nSelect, K as mergeProps, _ as _export_sfc, af as watch, b1 as onBeforeMount, o as onMounted, R as nextTick, au as useProjectsStore, T as resolveComponent, fp as _sfc_main$8, aE as EnterpriseEditionFeature, c as useI18n$1, d_ as N8nInputLabel, fu as ProjectSharing, C as N8nLink, aK as N8nBadge, q as N8nButton, a_ as useLocalStorage, fv as LOCAL_STORAGE_WORKFLOW_LIST_PREFERENCES_KEY, fw as isBaseTextKey, aa as useRoute, b as useRouter, Y as useDebounce, u as useUsersStore, fx as useSlots, fy as isSharedResource, fz as isResourceSortableByDate, P as onBeforeUnmount, dD as N8nLoading, dR as N8nActionBox, p as N8nText, b2 as withDirectives, cT as N8nInput, N as N8nIcon, c0 as normalizeProps, c1 as guardReactiveProps, cK as InfoTip, b3 as vShow, ap as useTelemetry } from "./index-CRQJ7x6N.js";
|
|
2
|
+
import { N as N8nTableBase } from "./TableBase-2nDRjPs3.js";
|
|
3
|
+
import { u as useProjectPages } from "./useProjectPages-CzVikbfF.js";
|
|
4
4
|
function getValueByPath(object, path) {
|
|
5
5
|
return path.split(".").reduce((acc, part) => {
|
|
6
6
|
return acc?.[part];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-
|
|
2
|
-
import { d as defineComponent,
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-Pq9pGbtg.js","assets/index-CRQJ7x6N.js","assets/index-C6NR226r.css","assets/_commonjs-dynamic-modules-TGKdzP3c.js","assets/RunDataJsonActions-B2jW3_UG.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, aY as useNDVStore, r as ref, g9 as useElementSize, x as computed, gY as executionDataToJson, h as createElementBlock, g as openBlock, e as createBlock, i as createVNode, w as withCtx, f as createCommentVNode, l as unref, dl as defineAsyncComponent, dk as Suspense, gZ as VueJsonPretty, gT as __unplugin_components_0, n as normalizeClass, gU as MappingPill, g5 as Draggable, aU as __vitePreload, gV as shorten, gX as getMappedExpression, bn as useExternalHooks, ap as useTelemetry, g_ as isString, g$ as nonExistingJsonPath, _ as _export_sfc } from "./index-CRQJ7x6N.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "RunDataJson",
|
|
5
5
|
props: {
|
|
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
},
|
|
19
19
|
setup(__props) {
|
|
20
20
|
const LazyRunDataJsonActions = defineAsyncComponent(
|
|
21
|
-
async () => await __vitePreload(() => import("./RunDataJsonActions-
|
|
21
|
+
async () => await __vitePreload(() => import("./RunDataJsonActions-Pq9pGbtg.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
|
|
22
22
|
);
|
|
23
23
|
const props = __props;
|
|
24
24
|
const ndvStore = useNDVStore();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { hL as commonjsGlobal, bQ as getDefaultExportFromCjs, d as defineComponent, g$ as nonExistingJsonPath, bZ as inject, r as ref, c9 as PopOutWindowKey, x as computed, aY as useNDVStore, a9 as useWorkflowsStore, c8 as useClipboard, bJ as useNodeHelpers, bH as usePinnedData, a as useToast, aa as useRoute, h as createElementBlock, g as openBlock, e as createBlock, l as unref, c as useI18n, a5 as _sfc_main$1, w as withCtx, j as createBaseVNode, i as createVNode, H as ElDropdownMenu, I as ElDropdownItem, k as createTextVNode, t as toDisplayString, E as ElDropdown, n as normalizeClass, ap as useTelemetry, hM as clearJsonKey, gY as executionDataToJson, hN as convertPath, _ as _export_sfc } from "./index-CRQJ7x6N.js";
|
|
2
2
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-TGKdzP3c.js";
|
|
3
3
|
var jsonpath = { exports: {} };
|
|
4
4
|
/*! jsonpath 1.1.1 */
|
|
@@ -12,7 +12,7 @@ function requireJsonpath() {
|
|
|
12
12
|
module.exports = f();
|
|
13
13
|
}
|
|
14
14
|
})(function() {
|
|
15
|
-
return function e(t, n, r) {
|
|
15
|
+
return (function e(t, n, r) {
|
|
16
16
|
function s(o2, u) {
|
|
17
17
|
if (!n[o2]) {
|
|
18
18
|
if (!t[o2]) {
|
|
@@ -33,7 +33,7 @@ function requireJsonpath() {
|
|
|
33
33
|
var i = typeof commonjsRequire == "function" && commonjsRequire;
|
|
34
34
|
for (var o = 0; o < r.length; o++) s(r[o]);
|
|
35
35
|
return s;
|
|
36
|
-
}({ "./aesprim": [function(require2, module3, exports3) {
|
|
36
|
+
})({ "./aesprim": [function(require2, module3, exports3) {
|
|
37
37
|
(function(root, factory) {
|
|
38
38
|
if (typeof exports3 !== "undefined") {
|
|
39
39
|
factory(exports3);
|
|
@@ -2932,7 +2932,7 @@ function requireJsonpath() {
|
|
|
2932
2932
|
exports4.version = "1.2.2";
|
|
2933
2933
|
exports4.tokenize = tokenize;
|
|
2934
2934
|
exports4.parse = parse;
|
|
2935
|
-
exports4.Syntax = function() {
|
|
2935
|
+
exports4.Syntax = (function() {
|
|
2936
2936
|
var name, types = {};
|
|
2937
2937
|
if (typeof Object.create === "function") {
|
|
2938
2938
|
types = /* @__PURE__ */ Object.create(null);
|
|
@@ -2946,11 +2946,11 @@ function requireJsonpath() {
|
|
|
2946
2946
|
Object.freeze(types);
|
|
2947
2947
|
}
|
|
2948
2948
|
return types;
|
|
2949
|
-
}();
|
|
2949
|
+
})();
|
|
2950
2950
|
});
|
|
2951
2951
|
}, {}], 1: [function(require2, module3, exports3) {
|
|
2952
2952
|
(function(process) {
|
|
2953
|
-
var parser = function() {
|
|
2953
|
+
var parser = (function() {
|
|
2954
2954
|
var parser2 = {
|
|
2955
2955
|
trace: function trace() {
|
|
2956
2956
|
},
|
|
@@ -3229,7 +3229,7 @@ function requireJsonpath() {
|
|
|
3229
3229
|
return _nodes;
|
|
3230
3230
|
}
|
|
3231
3231
|
};
|
|
3232
|
-
var lexer = /* @__PURE__ */ function() {
|
|
3232
|
+
var lexer = /* @__PURE__ */ (function() {
|
|
3233
3233
|
var lexer2 = {
|
|
3234
3234
|
EOF: 1,
|
|
3235
3235
|
parseError: function parseError(str, hash) {
|
|
@@ -3546,7 +3546,7 @@ function requireJsonpath() {
|
|
|
3546
3546
|
conditions: { "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "inclusive": true } }
|
|
3547
3547
|
};
|
|
3548
3548
|
return lexer2;
|
|
3549
|
-
}();
|
|
3549
|
+
})();
|
|
3550
3550
|
parser2.lexer = lexer;
|
|
3551
3551
|
function Parser() {
|
|
3552
3552
|
this.yy = {};
|
|
@@ -3554,7 +3554,7 @@ function requireJsonpath() {
|
|
|
3554
3554
|
Parser.prototype = parser2;
|
|
3555
3555
|
parser2.Parser = Parser;
|
|
3556
3556
|
return new Parser();
|
|
3557
|
-
}();
|
|
3557
|
+
})();
|
|
3558
3558
|
if (typeof require2 !== "undefined" && typeof exports3 !== "undefined") {
|
|
3559
3559
|
exports3.parser = parser;
|
|
3560
3560
|
exports3.Parser = parser.Parser;
|
|
@@ -5157,7 +5157,7 @@ function requireJsonpath() {
|
|
|
5157
5157
|
module3.exports = function(ast, vars) {
|
|
5158
5158
|
if (!vars) vars = {};
|
|
5159
5159
|
var FAIL = {};
|
|
5160
|
-
var result = function walk(node, scopeVars) {
|
|
5160
|
+
var result = (function walk(node, scopeVars) {
|
|
5161
5161
|
if (node.type === "Literal") {
|
|
5162
5162
|
return node.value;
|
|
5163
5163
|
} else if (node.type === "UnaryExpression") {
|
|
@@ -5291,7 +5291,7 @@ function requireJsonpath() {
|
|
|
5291
5291
|
} else if (node.type === "TemplateElement") {
|
|
5292
5292
|
return node.value.cooked;
|
|
5293
5293
|
} else return FAIL;
|
|
5294
|
-
}(ast);
|
|
5294
|
+
})(ast);
|
|
5295
5295
|
return result === FAIL ? void 0 : result;
|
|
5296
5296
|
};
|
|
5297
5297
|
}, { "escodegen": 12 }], "jsonpath": [function(require2, module3, exports3) {
|
|
@@ -5318,8 +5318,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5318
5318
|
},
|
|
5319
5319
|
setup(__props) {
|
|
5320
5320
|
const props = __props;
|
|
5321
|
-
const
|
|
5322
|
-
const
|
|
5321
|
+
const popOutWindow = inject(PopOutWindowKey, ref());
|
|
5322
|
+
const isInPopOutWindow = computed(() => popOutWindow?.value !== void 0);
|
|
5323
5323
|
const ndvStore = useNDVStore();
|
|
5324
5324
|
const workflowsStore = useWorkflowsStore();
|
|
5325
5325
|
const clipboard = useClipboard();
|
|
@@ -5449,7 +5449,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5449
5449
|
}, null, 8, ["title"])) : (openBlock(), createBlock(unref(ElDropdown), {
|
|
5450
5450
|
key: 1,
|
|
5451
5451
|
trigger: "click",
|
|
5452
|
-
teleported: !
|
|
5452
|
+
teleported: !isInPopOutWindow.value,
|
|
5453
5453
|
onCommand: handleCopyClick
|
|
5454
5454
|
}, {
|
|
5455
5455
|
dropdown: withCtx(() => [
|
package/dist/assets/{RunDataParsedAiContent-qSEryFRl.js → RunDataParsedAiContent-ChYdnZoY.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { V as VueMarkdown, H as HighlightJS } from "./core-
|
|
1
|
+
import { h0 as requireUtils, h1 as mapConnectionsByDestination, h2 as getParentNodes, bx as emptyTokenUsageData, bw as addTokenUsageData, h3 as libExports, h4 as splitTextBySearch, d as defineComponent, c8 as useClipboard, a as useToast, x as computed, h as createElementBlock, g as openBlock, n as normalizeClass, F as Fragment, A as renderList, e as createBlock, f as createCommentVNode, l as unref, gT as __unplugin_components_0, i as createVNode, a5 as _sfc_main$1, c as useI18n, _ as _export_sfc } from "./index-CRQJ7x6N.js";
|
|
2
|
+
import { V as VueMarkdown, H as HighlightJS } from "./core-VLDylmke.js";
|
|
3
3
|
var utilsExports = requireUtils();
|
|
4
4
|
function createNode(parent, nodeName, currentDepth, runIndex, r, children = []) {
|
|
5
5
|
return {
|