n8n-editor-ui 1.113.0 → 1.114.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/.build/cache-marker +1 -1
- package/.build/node-popularity.json +1823 -1823
- package/dist/assets/{AddDataStoreModal-BpBgou0E.js → AddDataStoreModal-gdYynAXK.js} +8 -8
- package/dist/assets/{AnimatedSpinner-BVVzuhy8.js → AnimatedSpinner-BmfqnkMh.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-D9y_kml7.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CVFW66bR.js} +1 -1
- package/dist/assets/{AuthView-DLJKQ74o.js → AuthView-CYJ7bCsV.js} +2 -2
- package/dist/assets/{ChangePasswordView-BMWrkaiq.js → ChangePasswordView-zducTJEL.js} +3 -3
- package/dist/assets/CollectionParameter-CxZhodaL.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-CgS2Cb5Q.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DFcvVtT3.js} +1 -1
- package/dist/assets/{CredentialsView-DHSg9xJ1.js → CredentialsView-CZU7hcHm.js} +19 -19
- package/dist/assets/{DataStoreActions.vue_vue_type_script_setup_true_lang-C2Dn9B2o.js → DataStoreActions.vue_vue_type_script_setup_true_lang-D2PEOSYF.js} +1 -1
- package/dist/assets/{DataStoreDetailsView-yJ7Ifouw.js → DataStoreDetailsView-cCwLSizn.js} +38 -26
- package/dist/assets/{DataStoreView-jb9J_g-Y.js → DataStoreView-DVBz_mE7.js} +13 -14
- package/dist/assets/{DemoFooter-BYvzzkpQ.js → DemoFooter-Cyz5315_.js} +6 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-BfHfE-dU.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-Ber_ThA-.js} +3 -3
- package/dist/assets/{EntityNotFound-lPracI2m.js → EntityNotFound-E440DAgo.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-zuygLqjz.js → EntityUnAuthorised-CGA8Pnag.js} +1 -1
- package/dist/assets/{ErrorView-C_k5_sJ0.js → ErrorView-DRsAZvNh.js} +9 -9
- package/dist/assets/{EvaluationsRootView-DP2_MhvN.js → EvaluationsRootView-CBh2oepG.js} +5 -5
- package/dist/assets/{EvaluationsView-BHRPpTsS.js → EvaluationsView-Bk0AxB7_.js} +3 -3
- package/dist/assets/{ExecutionsTime-etWexlXm.css → ExecutionsTime-CWHk7ZwI.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DTpILxvC.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-CNY2bHYv.js} +39 -39
- package/dist/assets/{ExecutionsView-Bv3YVM-6.js → ExecutionsView-ByBXIAlI.js} +10 -10
- package/dist/assets/{FixedCollectionParameter-CZc3TqBt.js → FixedCollectionParameter-B2zzgypc.js} +4 -4
- package/dist/assets/{FixedCollectionParameter-Dg7ZadcB.css → FixedCollectionParameter-TY1-sHgZ.css} +18 -18
- package/dist/assets/{ForgotMyPasswordView-CaiqDg42.js → ForgotMyPasswordView-BgKsPtpt.js} +3 -3
- package/dist/assets/{InfoAccordion-TbgnFURd.js → InfoAccordion-CsiczXnv.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-BqCmV_C3.js → InsightsChartAverageRuntime-Gy5dvV3h.js} +4 -4
- package/dist/assets/{InsightsChartFailed-nhNAvWJ-.js → InsightsChartFailed-Oe0oEJCc.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-Ca8Ar9nD.js → InsightsChartFailureRate-DU1kHSZv.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-CuO9b6Em.js → InsightsChartTimeSaved-CTUmcK5A.js} +4 -4
- package/dist/assets/{InsightsChartTotal-Dk2_nvoT.js → InsightsChartTotal-BtVfKdlz.js} +4 -4
- package/dist/assets/{InsightsDashboard-zCjTFLpM.js → InsightsDashboard-D65QIYuB.js} +11 -11
- package/dist/assets/{InsightsPaywall-CBtrv5fk.js → InsightsPaywall-Bm7hpUXq.js} +1 -1
- package/dist/assets/{InsightsSummary-BWRporX0.js → InsightsSummary-B_lIzS7D.js} +2 -3
- package/dist/assets/{InsightsTableWorkflows-DlGA2gWN.js → InsightsTableWorkflows-HAoS3XKw.js} +6 -7
- package/dist/assets/{Logo-ayCSvzHf.js → Logo-oWcxWkkZ.js} +1 -1
- package/dist/assets/{LogsPanel-DwPSXTSp.js → LogsPanel-BCGl1Nn3.js} +189 -101
- package/dist/assets/{LogsPanel-CUsQIBpC.css → LogsPanel-BE9Gl1z0.css} +26 -27
- package/dist/assets/{MainHeader-6lIHYgJG.css → MainHeader-BM1jYnSL.css} +6 -6
- package/dist/assets/{MainHeader-BGOzl1ir.js → MainHeader-BTi38P2q.js} +17 -17
- package/dist/assets/{MainSidebar-a73tcV9E.css → MainSidebar-BWPXOik1.css} +156 -0
- package/dist/assets/{MainSidebar-CGhxTuih.js → MainSidebar-f5ouPYUb.js} +204 -48
- package/dist/assets/{NodeCreation-C2TX7WTu.js → NodeCreation-BeqOH71X.js} +11 -11
- package/dist/assets/{NodeCreator-tQVCw9Uh.js → NodeCreator-Ck3oKOFP.js} +47 -34
- package/dist/assets/{NodeDetailsView-C-BCfvgR.js → NodeDetailsView-BOC4Hg0s.js} +27 -27
- package/dist/assets/{NodeDetailsViewV2-CHkxHxvz.js → NodeDetailsViewV2-M9x7-EpG.js} +16 -16
- package/dist/assets/{NodeView-B6Bv6TYS.js → NodeView-C9_Bsqwa.js} +88 -258
- package/dist/assets/{NodeView-Chs2u0U9.css → NodeView-DoRx_8YL.css} +0 -165
- package/dist/assets/{PageViewLayout-_SQAsKsq.js → PageViewLayout-BIOAQYgC.js} +1 -1
- package/dist/assets/{PrebuiltAgentTemplatesView-DOI6Oras.js → PrebuiltAgentTemplatesView-Bl6VzvHf.js} +2 -2
- package/dist/assets/{ProjectBreadcrumb-DdovGxoT.js → ProjectBreadcrumb-BO4fGsZ-.js} +28 -12
- package/dist/assets/{ProjectHeader-B5uv4DKo.css → ProjectHeader-BNMKpvzV.css} +9 -9
- package/dist/assets/{ProjectHeader-CmNr3RiV.js → ProjectHeader-DeQSPU2Z.js} +10 -10
- package/dist/assets/{ProjectSettings-BLw1-aa2.js → ProjectSettings-Bie7IE72.js} +169 -161
- package/dist/assets/{ProjectSettings-B5z1mrGW.css → ProjectSettings-Cj1kC16G.css} +30 -15
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-BvsEzRu6.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-R3ag1qU9.js} +5 -5
- package/dist/assets/{ResourcesListLayout-vTwRIDRz.css → ResourcesListLayout-BseE8-rt.css} +8 -8
- package/dist/assets/{ResourcesListLayout-CFoOOQpo.js → ResourcesListLayout-Dpz7rW4E.js} +42 -42
- package/dist/assets/{RunDataJson-KBqmqbfA.js → RunDataJson-D9c7DSu3.js} +3 -3
- package/dist/assets/{RunDataJsonActions-CKFc7ymK.js → RunDataJsonActions-DSwvkK8R.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-Ce_ctsro.js → RunDataParsedAiContent-Dw4DMcCc.js} +2 -2
- package/dist/assets/{RunDataSearch-gM--YmOH.js → RunDataSearch-CHn_C4l1.js} +59 -16
- package/dist/assets/{RunDataTable-CV1IQEC1.js → RunDataTable-BVcP67HC.js} +4 -4
- package/dist/assets/{SamlOnboarding-sD7YkjXE.js → SamlOnboarding-evZs5JmT.js} +3 -3
- package/dist/assets/{SelectedItemsInfo-CWRoXt5N.js → SelectedItemsInfo-BD8U-j2_.js} +1 -1
- package/dist/assets/{SettingsApiView-CjxSweZ2.js → SettingsApiView-C9ICg95A.js} +23 -24
- package/dist/assets/{SettingsCommunityNodesView-BZS-1Pu8.js → SettingsCommunityNodesView-BKv6oPzd.js} +31 -31
- package/dist/assets/{SettingsExternalSecrets-CUP7WmUX.js → SettingsExternalSecrets-B1fXLwpl.js} +18 -18
- package/dist/assets/{SettingsLdapView-CAcFtpvb.js → SettingsLdapView-1uB_1Kjt.js} +17 -17
- package/dist/assets/{SettingsLogStreamingView-Db06ainF.js → SettingsLogStreamingView-Cg5xgDBl.js} +29 -29
- package/dist/assets/SettingsMCPView-8ZO6fO7I.js +626 -0
- package/dist/assets/SettingsMCPView-INU33iV4.css +370 -0
- package/dist/assets/{SettingsPersonalView-CFAcW525.js → SettingsPersonalView-hcRTSivt.js} +31 -31
- package/dist/assets/{SettingsSourceControl-Cl0Z45op.js → SettingsSourceControl-CmWbELjI.js} +208 -65
- package/dist/assets/{SettingsSso-hvpitcmh.js → SettingsSso-DaF1HUCT.js} +61 -23
- package/dist/assets/{SettingsUsageAndPlan-CfFJy6fo.css → SettingsUsageAndPlan-CfunueCX.css} +3 -3
- package/dist/assets/{SettingsUsageAndPlan-pIa02R8X.js → SettingsUsageAndPlan-D35oEsJZ.js} +16 -17
- package/dist/assets/{SettingsUsersView-Bc_d_j_C.js → SettingsUsersView-ZRALZYsy.js} +4 -4
- package/dist/assets/{SettingsView-k1Qk6b9u.js → SettingsView-CgvnNTk-.js} +13 -12
- package/dist/assets/{SetupView-CgueTipX.js → SetupView-ChAnZVE2.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-9ZdgoxH6.js → SetupWorkflowCredentialsButton-BszdxOvj.js} +3 -3
- package/dist/assets/{SetupWorkflowFromTemplateView-DImn3MLc.js → SetupWorkflowFromTemplateView-DNXIp_P5.js} +13 -13
- package/dist/assets/{SigninView-Dy2njlT9.js → SigninView-wo3QJ5sB.js} +17 -17
- package/dist/assets/{SignoutView-BW4OLG4T.js → SignoutView-CQhFqBlf.js} +1 -1
- package/dist/assets/{SignupView-DqiOjgU_.js → SignupView-DchGNZfW.js} +3 -3
- package/dist/assets/{TableBase-J7qyS7Oi.js → TableBase-CtxQxn5Y.js} +1 -1
- package/dist/assets/{Tags-DHmekS5b.js → Tags-BXpnsQt9.js} +1 -1
- package/dist/assets/{TemplateDetails-lA7coCfr.js → TemplateDetails-BJTTpXQu.js} +11 -11
- package/dist/assets/{TemplateList-C_enJUC-.js → TemplateList-Ci2Gabt3.js} +15 -15
- package/dist/assets/{TemplatesCollectionView-Bvr4Jl4e.js → TemplatesCollectionView-CUX1Go6k.js} +15 -15
- package/dist/assets/{TemplatesSearchView-DNEWIXcA.js → TemplatesSearchView-DPFeZwku.js} +30 -30
- package/dist/assets/{TemplatesView-D6kBDKHq.js → TemplatesView-B2kjPDKq.js} +3 -3
- package/dist/assets/{TemplatesWorkflowView-CxpvFC33.js → TemplatesWorkflowView-DITL6wCM.js} +18 -18
- package/dist/assets/{TriggerPanel-DiD8pi0I.css → TriggerPanel-CZRJpcTa.css} +26 -24
- package/dist/assets/{TriggerPanel-aOMoGQPb.js → TriggerPanel-CrYeGN3J.js} +100 -124
- package/dist/assets/{VariablesView-CF7zW6sO.js → VariablesView-Bwp171eQ.js} +9 -9
- package/dist/assets/{VariablesView-BHcrNXsw.css → VariablesView-CO67wOhz.css} +6 -6
- package/dist/assets/{WorkerView-CPSFDQ3M.js → WorkerView-CTITbNMD.js} +27 -27
- package/dist/assets/{WorkflowActivator-jI4sUqXL.css → WorkflowActivator-BqnfTqdT.css} +2 -2
- package/dist/assets/{WorkflowActivator-2k4uBcXx.js → WorkflowActivator-ULjjOqRW.js} +35 -27
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DLSyy7P3.js → WorkflowExecutionsInfoAccordion-Du8aYVAp.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-B0lwEkzs.js → WorkflowExecutionsLandingPage--NydRWjB.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-fdG8WvjQ.js → WorkflowExecutionsPreview-SapcKnCv.js} +17 -17
- package/dist/assets/{WorkflowExecutionsView-DqWqyiNg.css → WorkflowExecutionsView-BI8VcrjR.css} +2 -2
- package/dist/assets/{WorkflowExecutionsView-DoOsdRNS.js → WorkflowExecutionsView-DzM_rNXF.js} +20 -20
- package/dist/assets/{WorkflowHistory-BmCEHmbX.js → WorkflowHistory-Db-y1oNT.js} +23 -23
- package/dist/assets/{WorkflowOnboardingView-DoANwef9.js → WorkflowOnboardingView-WrpmE_wt.js} +1 -1
- package/dist/assets/{WorkflowPreview-BcVSQJ1r.js → WorkflowPreview-7kOr6cGA.js} +10 -7
- package/dist/assets/{WorkflowsView-MF9XcT0u.css → WorkflowsView-Cn8b7sC6.css} +295 -18
- package/dist/assets/{WorkflowsView-DfkdEDYd.js → WorkflowsView-DyYy_N8O.js} +314 -136
- package/dist/assets/{canvas-DjkOwLgJ.js → canvas-DTKhYM6C.js} +1 -1
- package/dist/assets/{chartjs.utils-P0M5ijsc.js → chartjs.utils-CJ62oVGG.js} +2 -2
- package/dist/assets/{core-WbBbE4BE.js → core-VF74aV13.js} +1 -1
- package/dist/assets/{global-link-actions-Cq9wmyMP.js → global-link-actions-Ddo-afkv.js} +1 -1
- package/dist/assets/{index-DGLJxfnn.js → index-BOW55EQc.js} +16959 -15085
- package/dist/assets/{index-vcIMPEwS.js → index-BUUYM12e.js} +1 -1
- package/dist/assets/{index-CpPc1kM8.css → index-CTgzCbB9.css} +10049 -10911
- package/dist/assets/{pickBy-ClKklBll.js → pickBy-CwZEa5Ur.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-By37rv7G.js → readyToRunWorkflows.store-C7dZP8KI.js} +1 -1
- package/dist/assets/{readyToRunWorkflowsV2.store-Dl9lSVnl.js → readyToRunWorkflowsV2.store-BJY-F_Le.js} +2 -2
- package/dist/assets/{templateActions-DIHXnHcb.js → templateActions-BfUcgZvZ.js} +1 -1
- package/dist/assets/{useBeforeUnload-DixKQhw1.js → useBeforeUnload-CEwAxZFs.js} +1 -1
- package/dist/assets/{useExecutionDebugging-CONIO3Vz.js → useExecutionDebugging-Moxdvo-v.js} +1 -1
- package/dist/assets/{useImportCurlCommand-CcLwFKyp.js → useImportCurlCommand-C5Ra8auY.js} +1 -1
- package/dist/assets/{useProjectPages-eaNvpOz-.js → useProjectPages-D2nu5pZ9.js} +1 -1
- package/dist/assets/{usePushConnection-C9lQfiNc.js → usePushConnection-Dnr2PF2n.js} +12 -6
- package/dist/assets/{useWorkflowActivate-ByzVgA6z.js → useWorkflowActivate-Ch6gRZjX.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/scripts/cache-marker.mjs +11 -0
- package/turbo.json +2 -1
- package/dist/assets/CollectionParameter-Cb7K8toD.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, e as createBlock, g as openBlock, w as withCtx, i as createVNode, l as unref, b6 as ElSubMenu, n as normalizeClass, h as createElementBlock, F as Fragment, A as renderList, b7 as _sfc_main$
|
|
2
|
-
import { L as Logo } from "./Logo-
|
|
1
|
+
import { d as defineComponent, r as ref, e as createBlock, g as openBlock, w as withCtx, i as createVNode, l as unref, b6 as ElSubMenu, n as normalizeClass, h as createElementBlock, F as Fragment, A as renderList, b7 as _sfc_main$7, b8 as ElMenuItem, f as createCommentVNode, k as createTextVNode, Y as renderSlot, N as N8nIcon, p as N8nText, t as toDisplayString, K as mergeProps, b9 as withKeys, ba as ElMenu, _ as _export_sfc, bb as get, ag as useSourceControlStore, av as useProjectsStore, a3 as useRoute, b as useRouter, x as computed, aE as hasPermission, aC as getResourcePermissions, aq as normalizeStyle, j as createBaseVNode, aa as Tooltip, q as N8nButton, c as useI18n, a0 as defineStore, bc as useCloudPlanStore, au as useRootStore, bd as useStorage, be as DateTime, a5 as STORES, am as useTelemetry, v as useSettingsStore, a as useToast, bf as sortByProperty, V as VIEWS, bg as updatedIconSet, aB as usePageRedirectionHelper, u as useUsersStore, b2 as onBeforeMount, bh as N8nMenuItem, bi as useDebugInfo, bj as useVersionsStore, Q as useUIStore, C as N8nLink, bk as VERSIONS_MODAL_KEY, bl as usePersonalizedTemplatesV3Store, a8 as watch, o as onMounted, bm as onUnmounted, bn as Teleport, Z as nextTick, bo as useTemplatesStore, a2 as useWorkflowsStore, bp as usePersonalizedTemplatesV2Store, P as useDebounce, bq as useCalloutHelpers, br as useKeybindings, bs as RELEASE_NOTES_URL, bt as useExternalHooks, X as onBeforeUnmount, bu as onClickOutside, a9 as resolveComponent, ac as I18nT, ab as _sfc_main$8, bv as createSlots, G as N8nAvatar, aN as N8nActionDropdown, bw as N8nMenu, bx as WHATS_NEW_MODAL_KEY, by as ABOUT_MODAL_KEY, bz as EXPERIMENT_TEMPLATE_RECO_V3_KEY, bA as trackTemplatesClick, bB as TemplateClickSource, bC as EXPERIMENT_TEMPLATE_RECO_V2_KEY } from "./index-BOW55EQc.js";
|
|
2
|
+
import { L as Logo } from "./Logo-oWcxWkkZ.js";
|
|
3
3
|
const ROOT_MENU_INDEX = "-1";
|
|
4
|
-
const _sfc_main$
|
|
4
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
5
5
|
...{
|
|
6
6
|
name: "N8nNavigationDropdown"
|
|
7
7
|
},
|
|
@@ -73,7 +73,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
]),
|
|
74
74
|
default: withCtx(() => [
|
|
75
75
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.submenu, (subitem) => {
|
|
76
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
76
|
+
return openBlock(), createBlock(unref(_sfc_main$7), {
|
|
77
77
|
key: subitem.id,
|
|
78
78
|
to: !subitem.disabled && subitem.route || void 0
|
|
79
79
|
}, {
|
|
@@ -111,7 +111,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
111
111
|
}), 128))
|
|
112
112
|
]),
|
|
113
113
|
_: 2
|
|
114
|
-
}, 1032, ["popper-class", "index"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
114
|
+
}, 1032, ["popper-class", "index"])) : (openBlock(), createBlock(unref(_sfc_main$7), {
|
|
115
115
|
key: 1,
|
|
116
116
|
to: !item.disabled && item.route || void 0
|
|
117
117
|
}, {
|
|
@@ -145,21 +145,21 @@ const dropdown = "_dropdown_1dr86_123";
|
|
|
145
145
|
const nestedSubmenu = "_nestedSubmenu_1dr86_140";
|
|
146
146
|
const submenu = "_submenu_1dr86_145";
|
|
147
147
|
const submenu__icon = "_submenu__icon_1dr86_173";
|
|
148
|
-
const style0$
|
|
148
|
+
const style0$6 = {
|
|
149
149
|
dropdown,
|
|
150
150
|
nestedSubmenu,
|
|
151
151
|
submenu,
|
|
152
152
|
submenu__icon
|
|
153
153
|
};
|
|
154
|
-
const cssModules$
|
|
155
|
-
"$style": style0$
|
|
154
|
+
const cssModules$6 = {
|
|
155
|
+
"$style": style0$6
|
|
156
156
|
};
|
|
157
|
-
const N8nNavigationDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
157
|
+
const N8nNavigationDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__cssModules", cssModules$6]]);
|
|
158
158
|
async function getBecomeCreatorCta(context) {
|
|
159
159
|
const response = await get(context.baseUrl, "/cta/become-creator");
|
|
160
160
|
return response;
|
|
161
161
|
}
|
|
162
|
-
const _sfc_main$
|
|
162
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
163
163
|
__name: "MainSidebarSourceControl",
|
|
164
164
|
props: {
|
|
165
165
|
isCollapsed: { type: Boolean }
|
|
@@ -202,9 +202,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
204
|
return (_ctx, _cache) => {
|
|
205
|
-
const
|
|
206
|
-
const
|
|
207
|
-
const
|
|
205
|
+
const _component_N8nIcon = N8nIcon;
|
|
206
|
+
const _component_N8nButton = N8nButton;
|
|
207
|
+
const _component_N8nTooltip = Tooltip;
|
|
208
208
|
return sourceControlAvailable.value ? (openBlock(), createElementBlock("div", {
|
|
209
209
|
key: 0,
|
|
210
210
|
class: normalizeClass({
|
|
@@ -223,13 +223,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
223
223
|
createBaseVNode("span", {
|
|
224
224
|
class: normalizeClass(_ctx.$style.branchName)
|
|
225
225
|
}, [
|
|
226
|
-
createVNode(
|
|
226
|
+
createVNode(_component_N8nIcon, { icon: "git-branch" }),
|
|
227
227
|
createTextVNode(" " + toDisplayString(currentBranch.value), 1)
|
|
228
228
|
], 2),
|
|
229
229
|
createBaseVNode("div", {
|
|
230
230
|
class: normalizeClass({ "pt-xs": !_ctx.isCollapsed })
|
|
231
231
|
}, [
|
|
232
|
-
createVNode(
|
|
232
|
+
createVNode(_component_N8nTooltip, {
|
|
233
233
|
disabled: !_ctx.isCollapsed && hasPullPermission.value,
|
|
234
234
|
"show-after": tooltipOpenDelay.value,
|
|
235
235
|
placement: _ctx.isCollapsed ? "right" : "top"
|
|
@@ -238,7 +238,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
238
238
|
createBaseVNode("div", null, toDisplayString(!hasPullPermission.value ? unref(i18n).baseText("settings.sourceControl.button.pull.forbidden") : unref(i18n).baseText("settings.sourceControl.button.pull")), 1)
|
|
239
239
|
]),
|
|
240
240
|
default: withCtx(() => [
|
|
241
|
-
createVNode(
|
|
241
|
+
createVNode(_component_N8nButton, {
|
|
242
242
|
class: normalizeClass({
|
|
243
243
|
"mr-2xs": !_ctx.isCollapsed,
|
|
244
244
|
"mb-2xs": _ctx.isCollapsed
|
|
@@ -255,7 +255,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
255
255
|
]),
|
|
256
256
|
_: 1
|
|
257
257
|
}, 8, ["disabled", "show-after", "placement"]),
|
|
258
|
-
createVNode(
|
|
258
|
+
createVNode(_component_N8nTooltip, {
|
|
259
259
|
disabled: !_ctx.isCollapsed && !unref(sourceControlStore).preferences.branchReadOnly && hasPushPermission.value,
|
|
260
260
|
"show-after": tooltipOpenDelay.value,
|
|
261
261
|
placement: _ctx.isCollapsed ? "right" : "top"
|
|
@@ -264,7 +264,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
264
264
|
createBaseVNode("div", null, toDisplayString(unref(sourceControlStore).preferences.branchReadOnly || !hasPushPermission.value ? unref(i18n).baseText("settings.sourceControl.button.push.forbidden") : unref(i18n).baseText("settings.sourceControl.button.push")), 1)
|
|
265
265
|
]),
|
|
266
266
|
default: withCtx(() => [
|
|
267
|
-
createVNode(
|
|
267
|
+
createVNode(_component_N8nButton, {
|
|
268
268
|
square: _ctx.isCollapsed,
|
|
269
269
|
label: _ctx.isCollapsed ? "" : unref(i18n).baseText("settings.sourceControl.button.push"),
|
|
270
270
|
disabled: unref(sourceControlStore).preferences.branchReadOnly || !hasPushPermission.value,
|
|
@@ -288,17 +288,17 @@ const isConnected = "_isConnected_fv3ov_130";
|
|
|
288
288
|
const collapsed$1 = "_collapsed_fv3ov_134";
|
|
289
289
|
const branchName = "_branchName_fv3ov_144";
|
|
290
290
|
const connected = "_connected_fv3ov_154";
|
|
291
|
-
const style0$
|
|
291
|
+
const style0$5 = {
|
|
292
292
|
sync,
|
|
293
293
|
isConnected,
|
|
294
294
|
collapsed: collapsed$1,
|
|
295
295
|
branchName,
|
|
296
296
|
connected
|
|
297
297
|
};
|
|
298
|
-
const cssModules$
|
|
299
|
-
"$style": style0$
|
|
298
|
+
const cssModules$5 = {
|
|
299
|
+
"$style": style0$5
|
|
300
300
|
};
|
|
301
|
-
const __unplugin_components_4 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
301
|
+
const __unplugin_components_4 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__cssModules", cssModules$5]]);
|
|
302
302
|
const LOCAL_STORAGE_KEY = "N8N_BECOME_TEMPLATE_CREATOR_CTA_DISMISSED_AT";
|
|
303
303
|
const RESHOW_DISMISSED_AFTER_DAYS = 30;
|
|
304
304
|
const POLL_INTERVAL_IN_MS = 15 * 60 * 1e3;
|
|
@@ -354,7 +354,7 @@ function hasEnoughTimePassedSinceDismissal(dismissedAt) {
|
|
|
354
354
|
});
|
|
355
355
|
return reshowAtTime <= DateTime.now();
|
|
356
356
|
}
|
|
357
|
-
const _sfc_main$
|
|
357
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
358
358
|
__name: "BecomeTemplateCreatorCta",
|
|
359
359
|
setup(__props) {
|
|
360
360
|
const i18n = useI18n();
|
|
@@ -364,8 +364,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
364
364
|
telemetry.track("User clicked become creator CTA");
|
|
365
365
|
};
|
|
366
366
|
return (_ctx, _cache) => {
|
|
367
|
-
const
|
|
368
|
-
const
|
|
367
|
+
const _component_N8nIcon = N8nIcon;
|
|
368
|
+
const _component_N8nButton = N8nButton;
|
|
369
369
|
return unref(store).showBecomeCreatorCta ? (openBlock(), createElementBlock("div", {
|
|
370
370
|
key: 0,
|
|
371
371
|
class: normalizeClass(_ctx.$style.container),
|
|
@@ -382,14 +382,14 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
382
382
|
"data-test-id": "close-become-template-creator-cta",
|
|
383
383
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(store).dismissCta())
|
|
384
384
|
}, [
|
|
385
|
-
createVNode(
|
|
385
|
+
createVNode(_component_N8nIcon, {
|
|
386
386
|
icon: "x",
|
|
387
387
|
size: "xsmall",
|
|
388
388
|
title: unref(i18n).baseText("generic.close")
|
|
389
389
|
}, null, 8, ["title"])
|
|
390
390
|
], 2)
|
|
391
391
|
], 2),
|
|
392
|
-
createVNode(
|
|
392
|
+
createVNode(_component_N8nButton, {
|
|
393
393
|
class: normalizeClass(_ctx.$style.becomeCreatorButton),
|
|
394
394
|
label: unref(i18n).baseText("becomeCreator.buttonText"),
|
|
395
395
|
size: "xmini",
|
|
@@ -405,20 +405,20 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
405
405
|
});
|
|
406
406
|
const container$1 = "_container_977ul_123";
|
|
407
407
|
const textAndCloseButton = "_textAndCloseButton_977ul_131";
|
|
408
|
-
const text = "_text_977ul_131";
|
|
408
|
+
const text$1 = "_text_977ul_131";
|
|
409
409
|
const closeButton = "_closeButton_977ul_144";
|
|
410
410
|
const becomeCreatorButton = "_becomeCreatorButton_977ul_156";
|
|
411
|
-
const style0$
|
|
411
|
+
const style0$4 = {
|
|
412
412
|
container: container$1,
|
|
413
413
|
textAndCloseButton,
|
|
414
|
-
text,
|
|
414
|
+
text: text$1,
|
|
415
415
|
closeButton,
|
|
416
416
|
becomeCreatorButton
|
|
417
417
|
};
|
|
418
|
-
const cssModules$
|
|
419
|
-
"$style": style0$
|
|
418
|
+
const cssModules$4 = {
|
|
419
|
+
"$style": style0$4
|
|
420
420
|
};
|
|
421
|
-
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
421
|
+
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__cssModules", cssModules$4]]);
|
|
422
422
|
const isIconName = (icon) => typeof icon === "string" && Object.keys(updatedIconSet).includes(icon);
|
|
423
423
|
const isProjectIcon = (icon) => isIconName(icon) || typeof icon === "object" && icon !== null && "value" in icon && typeof icon.value === "string" && "type" in icon && (icon.type === "emoji" || icon.type === "icon" && isIconName(icon.value));
|
|
424
424
|
const useGlobalEntityCreation = () => {
|
|
@@ -634,7 +634,7 @@ const _hoisted_2 = {
|
|
|
634
634
|
key: 4,
|
|
635
635
|
class: "mb-m"
|
|
636
636
|
};
|
|
637
|
-
const _sfc_main$
|
|
637
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
638
638
|
__name: "ProjectNavigation",
|
|
639
639
|
props: {
|
|
640
640
|
collapsed: { type: Boolean },
|
|
@@ -831,7 +831,7 @@ const upgradeLink = "_upgradeLink_jcrfa_141";
|
|
|
831
831
|
const collapsed = "_collapsed_jcrfa_146";
|
|
832
832
|
const projectsLabel = "_projectsLabel_jcrfa_150";
|
|
833
833
|
const addFirstProjectBtn = "_addFirstProjectBtn_jcrfa_173";
|
|
834
|
-
const style0$
|
|
834
|
+
const style0$3 = {
|
|
835
835
|
projects,
|
|
836
836
|
plusBtn,
|
|
837
837
|
projectItems,
|
|
@@ -840,10 +840,10 @@ const style0$2 = {
|
|
|
840
840
|
projectsLabel,
|
|
841
841
|
addFirstProjectBtn
|
|
842
842
|
};
|
|
843
|
-
const cssModules$
|
|
844
|
-
"$style": style0$
|
|
843
|
+
const cssModules$3 = {
|
|
844
|
+
"$style": style0$3
|
|
845
845
|
};
|
|
846
|
-
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
846
|
+
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__cssModules", cssModules$3], ["__scopeId", "data-v-9256cda9"]]);
|
|
847
847
|
const BASE_FORUM_URL = "https://github.com/n8n-io/n8n/issues/new?labels=bug-report";
|
|
848
848
|
const REPORT_TEMPLATE = `
|
|
849
849
|
<!-- Please follow the template below. Skip the questions that are not relevant to you. -->
|
|
@@ -879,7 +879,7 @@ ${debugInfo.generateDebugInfo({ skipSensitive: true, secondaryHeader: true })}}`
|
|
|
879
879
|
getReportingURL
|
|
880
880
|
};
|
|
881
881
|
}
|
|
882
|
-
const _sfc_main$
|
|
882
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
883
883
|
__name: "VersionUpdateCTA",
|
|
884
884
|
props: {
|
|
885
885
|
disabled: { type: Boolean, default: false },
|
|
@@ -942,14 +942,161 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
942
942
|
});
|
|
943
943
|
const container = "_container_1hqs4_123";
|
|
944
944
|
const button = "_button_1hqs4_136";
|
|
945
|
-
const style0$
|
|
945
|
+
const style0$2 = {
|
|
946
946
|
container,
|
|
947
947
|
button
|
|
948
948
|
};
|
|
949
|
+
const cssModules$2 = {
|
|
950
|
+
"$style": style0$2
|
|
951
|
+
};
|
|
952
|
+
const VersionUpdateCTA = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$2]]);
|
|
953
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
954
|
+
__name: "TemplateTooltip",
|
|
955
|
+
setup(__props) {
|
|
956
|
+
const personalizedTemplatesV3Store = usePersonalizedTemplatesV3Store();
|
|
957
|
+
const {
|
|
958
|
+
markTemplateRecommendationInteraction,
|
|
959
|
+
trackPersonalizationTooltipView,
|
|
960
|
+
trackPersonalizationTooltipDismiss
|
|
961
|
+
} = personalizedTemplatesV3Store;
|
|
962
|
+
const locale = useI18n();
|
|
963
|
+
const tooltipRef = ref();
|
|
964
|
+
const isVisible = ref(false);
|
|
965
|
+
const position = ref({ top: 0, left: 0 });
|
|
966
|
+
const tooltipKey = ref(0);
|
|
967
|
+
const shouldShow = computed(() => personalizedTemplatesV3Store.shouldShowTemplateTooltip);
|
|
968
|
+
const calculatePosition = () => {
|
|
969
|
+
const templatesElement = document.querySelector('[data-test-id="menu-item"][id="templates"]');
|
|
970
|
+
if (!templatesElement) return;
|
|
971
|
+
const menuRect = templatesElement.getBoundingClientRect();
|
|
972
|
+
position.value = {
|
|
973
|
+
top: menuRect.top + menuRect.height / 2 - 5,
|
|
974
|
+
left: menuRect.right
|
|
975
|
+
};
|
|
976
|
+
tooltipKey.value++;
|
|
977
|
+
};
|
|
978
|
+
const showTooltip = async () => {
|
|
979
|
+
isVisible.value = true;
|
|
980
|
+
trackPersonalizationTooltipView();
|
|
981
|
+
await nextTick();
|
|
982
|
+
calculatePosition();
|
|
983
|
+
};
|
|
984
|
+
const hideTooltip = () => {
|
|
985
|
+
isVisible.value = false;
|
|
986
|
+
};
|
|
987
|
+
const handleDismiss = () => {
|
|
988
|
+
trackPersonalizationTooltipDismiss();
|
|
989
|
+
markTemplateRecommendationInteraction();
|
|
990
|
+
hideTooltip();
|
|
991
|
+
};
|
|
992
|
+
const handleResize = () => {
|
|
993
|
+
if (isVisible.value) {
|
|
994
|
+
calculatePosition();
|
|
995
|
+
}
|
|
996
|
+
};
|
|
997
|
+
const handleContentResize = () => {
|
|
998
|
+
if (isVisible.value) {
|
|
999
|
+
setTimeout(() => {
|
|
1000
|
+
calculatePosition();
|
|
1001
|
+
}, 500);
|
|
1002
|
+
}
|
|
1003
|
+
};
|
|
1004
|
+
watch(
|
|
1005
|
+
shouldShow,
|
|
1006
|
+
async (newValue) => {
|
|
1007
|
+
if (newValue) {
|
|
1008
|
+
await showTooltip();
|
|
1009
|
+
} else {
|
|
1010
|
+
hideTooltip();
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
{ immediate: true }
|
|
1014
|
+
);
|
|
1015
|
+
let contentResizeObserver = null;
|
|
1016
|
+
onMounted(() => {
|
|
1017
|
+
window.addEventListener("resize", handleResize);
|
|
1018
|
+
window.addEventListener("scroll", handleResize);
|
|
1019
|
+
const contentElement = document.getElementById("content");
|
|
1020
|
+
if (contentElement) {
|
|
1021
|
+
contentResizeObserver = new ResizeObserver(handleContentResize);
|
|
1022
|
+
contentResizeObserver.observe(contentElement);
|
|
1023
|
+
}
|
|
1024
|
+
});
|
|
1025
|
+
onUnmounted(() => {
|
|
1026
|
+
window.removeEventListener("resize", handleResize);
|
|
1027
|
+
window.removeEventListener("scroll", handleResize);
|
|
1028
|
+
if (contentResizeObserver) {
|
|
1029
|
+
contentResizeObserver.disconnect();
|
|
1030
|
+
contentResizeObserver = null;
|
|
1031
|
+
}
|
|
1032
|
+
});
|
|
1033
|
+
return (_ctx, _cache) => {
|
|
1034
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
1035
|
+
isVisible.value && shouldShow.value ? (openBlock(), createElementBlock("div", {
|
|
1036
|
+
ref_key: "tooltipRef",
|
|
1037
|
+
ref: tooltipRef,
|
|
1038
|
+
key: tooltipKey.value,
|
|
1039
|
+
class: normalizeClass(_ctx.$style.triggerContainer),
|
|
1040
|
+
style: normalizeStyle({
|
|
1041
|
+
position: "fixed",
|
|
1042
|
+
top: position.value.top + "px",
|
|
1043
|
+
left: position.value.left + "px"
|
|
1044
|
+
})
|
|
1045
|
+
}, [
|
|
1046
|
+
createVNode(unref(Tooltip), {
|
|
1047
|
+
visible: true,
|
|
1048
|
+
placement: "right",
|
|
1049
|
+
"show-arrow": true,
|
|
1050
|
+
"popper-style": { maxWidth: "260px", minWidth: "240px" }
|
|
1051
|
+
}, {
|
|
1052
|
+
content: withCtx(() => [
|
|
1053
|
+
createBaseVNode("div", {
|
|
1054
|
+
class: normalizeClass(_ctx.$style.tooltipContent)
|
|
1055
|
+
}, [
|
|
1056
|
+
createBaseVNode("span", {
|
|
1057
|
+
class: normalizeClass(_ctx.$style.text)
|
|
1058
|
+
}, toDisplayString(unref(locale).baseText("experiments.personalizedTemplatesV3.recommendationTooltip")), 3),
|
|
1059
|
+
createBaseVNode("button", {
|
|
1060
|
+
class: normalizeClass(_ctx.$style.dismissButton),
|
|
1061
|
+
type: "button",
|
|
1062
|
+
onClick: handleDismiss,
|
|
1063
|
+
"aria-label": "Dismiss tooltip"
|
|
1064
|
+
}, [
|
|
1065
|
+
createVNode(unref(N8nIcon), {
|
|
1066
|
+
icon: "x",
|
|
1067
|
+
size: "small"
|
|
1068
|
+
})
|
|
1069
|
+
], 2)
|
|
1070
|
+
], 2)
|
|
1071
|
+
]),
|
|
1072
|
+
default: withCtx(() => [
|
|
1073
|
+
createBaseVNode("div", {
|
|
1074
|
+
class: normalizeClass(_ctx.$style.tooltipTrigger)
|
|
1075
|
+
}, null, 2)
|
|
1076
|
+
]),
|
|
1077
|
+
_: 1
|
|
1078
|
+
})
|
|
1079
|
+
], 6)) : createCommentVNode("", true)
|
|
1080
|
+
]);
|
|
1081
|
+
};
|
|
1082
|
+
}
|
|
1083
|
+
});
|
|
1084
|
+
const triggerContainer = "_triggerContainer_l9heg_123";
|
|
1085
|
+
const tooltipTrigger = "_tooltipTrigger_l9heg_128";
|
|
1086
|
+
const tooltipContent = "_tooltipContent_l9heg_134";
|
|
1087
|
+
const text = "_text_l9heg_140";
|
|
1088
|
+
const dismissButton = "_dismissButton_l9heg_146";
|
|
1089
|
+
const style0$1 = {
|
|
1090
|
+
triggerContainer,
|
|
1091
|
+
tooltipTrigger,
|
|
1092
|
+
tooltipContent,
|
|
1093
|
+
text,
|
|
1094
|
+
dismissButton
|
|
1095
|
+
};
|
|
949
1096
|
const cssModules$1 = {
|
|
950
1097
|
"$style": style0$1
|
|
951
1098
|
};
|
|
952
|
-
const
|
|
1099
|
+
const TemplateTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
|
|
953
1100
|
const _hoisted_1 = {
|
|
954
1101
|
class: "ml-3xs",
|
|
955
1102
|
"data-test-id": "main-sidebar-user-menu"
|
|
@@ -968,6 +1115,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
968
1115
|
const workflowsStore = useWorkflowsStore();
|
|
969
1116
|
const sourceControlStore = useSourceControlStore();
|
|
970
1117
|
const personalizedTemplatesV2Store = usePersonalizedTemplatesV2Store();
|
|
1118
|
+
const personalizedTemplatesV3Store = usePersonalizedTemplatesV3Store();
|
|
971
1119
|
const { callDebounced } = useDebounce();
|
|
972
1120
|
const externalHooks = useExternalHooks();
|
|
973
1121
|
const i18n = useI18n();
|
|
@@ -1016,12 +1164,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1016
1164
|
route: { to: { name: VIEWS.PRE_BUILT_AGENT_TEMPLATES } }
|
|
1017
1165
|
},
|
|
1018
1166
|
{
|
|
1019
|
-
// Link to
|
|
1167
|
+
// Link to personalized template modal, available when V2 or V3 experiment is enabled
|
|
1020
1168
|
id: "templates",
|
|
1021
1169
|
icon: "package-open",
|
|
1022
1170
|
label: i18n.baseText("mainSidebar.templates"),
|
|
1023
1171
|
position: "bottom",
|
|
1024
|
-
available: settingsStore.isTemplatesEnabled && !calloutHelpers.isPreBuiltAgentsCalloutVisible.value && personalizedTemplatesV2Store.isFeatureEnabled()
|
|
1172
|
+
available: settingsStore.isTemplatesEnabled && !calloutHelpers.isPreBuiltAgentsCalloutVisible.value && (personalizedTemplatesV2Store.isFeatureEnabled() || personalizedTemplatesV3Store.isFeatureEnabled())
|
|
1025
1173
|
},
|
|
1026
1174
|
{
|
|
1027
1175
|
// Link to in-app templates, available if custom templates are enabled and experiment is disabled
|
|
@@ -1029,7 +1177,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1029
1177
|
icon: "package-open",
|
|
1030
1178
|
label: i18n.baseText("mainSidebar.templates"),
|
|
1031
1179
|
position: "bottom",
|
|
1032
|
-
available: settingsStore.isTemplatesEnabled && !calloutHelpers.isPreBuiltAgentsCalloutVisible.value && templatesStore.hasCustomTemplatesHost && !personalizedTemplatesV2Store.isFeatureEnabled(),
|
|
1180
|
+
available: settingsStore.isTemplatesEnabled && !calloutHelpers.isPreBuiltAgentsCalloutVisible.value && templatesStore.hasCustomTemplatesHost && !(personalizedTemplatesV2Store.isFeatureEnabled() || personalizedTemplatesV3Store.isFeatureEnabled()),
|
|
1033
1181
|
route: { to: { name: VIEWS.TEMPLATES } }
|
|
1034
1182
|
},
|
|
1035
1183
|
{
|
|
@@ -1038,7 +1186,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1038
1186
|
icon: "package-open",
|
|
1039
1187
|
label: i18n.baseText("mainSidebar.templates"),
|
|
1040
1188
|
position: "bottom",
|
|
1041
|
-
available: settingsStore.isTemplatesEnabled && !calloutHelpers.isPreBuiltAgentsCalloutVisible.value && !templatesStore.hasCustomTemplatesHost && !personalizedTemplatesV2Store.isFeatureEnabled(),
|
|
1189
|
+
available: settingsStore.isTemplatesEnabled && !calloutHelpers.isPreBuiltAgentsCalloutVisible.value && !templatesStore.hasCustomTemplatesHost && !(personalizedTemplatesV2Store.isFeatureEnabled() || personalizedTemplatesV3Store.isFeatureEnabled()),
|
|
1042
1190
|
link: {
|
|
1043
1191
|
href: templatesStore.websiteTemplateRepositoryURL,
|
|
1044
1192
|
target: "_blank"
|
|
@@ -1213,7 +1361,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1213
1361
|
const handleSelect = (key) => {
|
|
1214
1362
|
switch (key) {
|
|
1215
1363
|
case "templates":
|
|
1216
|
-
if (
|
|
1364
|
+
if (personalizedTemplatesV3Store.isFeatureEnabled()) {
|
|
1365
|
+
personalizedTemplatesV3Store.markTemplateRecommendationInteraction();
|
|
1366
|
+
uiStore.openModalWithData({
|
|
1367
|
+
name: EXPERIMENT_TEMPLATE_RECO_V3_KEY,
|
|
1368
|
+
data: {}
|
|
1369
|
+
});
|
|
1370
|
+
trackTemplatesClick(TemplateClickSource.sidebarButton);
|
|
1371
|
+
} else if (personalizedTemplatesV2Store.isFeatureEnabled()) {
|
|
1217
1372
|
uiStore.openModalWithData({
|
|
1218
1373
|
name: EXPERIMENT_TEMPLATE_RECO_V2_KEY,
|
|
1219
1374
|
data: {}
|
|
@@ -1447,7 +1602,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1447
1602
|
}, 1032, ["content"])) : createCommentVNode("", true)
|
|
1448
1603
|
]),
|
|
1449
1604
|
default: withCtx(() => [
|
|
1450
|
-
createVNode(unref(_sfc_main$
|
|
1605
|
+
createVNode(unref(_sfc_main$8), {
|
|
1451
1606
|
icon: "plus",
|
|
1452
1607
|
type: "secondary",
|
|
1453
1608
|
outline: ""
|
|
@@ -1557,7 +1712,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1557
1712
|
]),
|
|
1558
1713
|
key: "0"
|
|
1559
1714
|
} : void 0
|
|
1560
|
-
]), 1032, ["items", "collapsed"])
|
|
1715
|
+
]), 1032, ["items", "collapsed"]),
|
|
1716
|
+
createVNode(TemplateTooltip)
|
|
1561
1717
|
], 2);
|
|
1562
1718
|
};
|
|
1563
1719
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-
|
|
2
|
-
import { d as defineComponent, Q as useUIStore,
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-Ck3oKOFP.js","assets/index-BOW55EQc.js","assets/index-CTgzCbB9.css","assets/NodeCreator-COTYfPaK.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, Q as useUIStore, cO as useFocusPanelStore, fq as useAssistantStore, hI as useActions, h as createElementBlock, g as openBlock, f as createCommentVNode, e as createBlock, n as normalizeClass, i as createVNode, w as withCtx, ab as _sfc_main$1, l as unref, c as useI18n, cn as KeyboardShortcutTooltip, q as N8nButton, j as createBaseVNode, df as _sfc_main$2, k as createTextVNode, t as toDisplayString, aa as Tooltip, dA as defineAsyncComponent, dz as Suspense, F as Fragment, aV as __vitePreload, dC as NODE_CREATOR_OPEN_SOURCES, hJ as getMidCanvasPosition, b1 as STICKY_NODE_TYPE, am as useTelemetry, hK as DEFAULT_STICKY_WIDTH, hL as DEFAULT_STICKY_HEIGHT, _ as _export_sfc } from "./index-BOW55EQc.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "NodeCreation",
|
|
5
5
|
props: {
|
|
@@ -10,7 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
emits: ["addNodes", "toggleNodeCreator"],
|
|
11
11
|
setup(__props, { emit: __emit }) {
|
|
12
12
|
const LazyNodeCreator = defineAsyncComponent(
|
|
13
|
-
async () => await __vitePreload(() => import("./NodeCreator-
|
|
13
|
+
async () => await __vitePreload(() => import("./NodeCreator-Ck3oKOFP.js"), true ? __vite__mapDeps([0,1,2,3]) : void 0)
|
|
14
14
|
);
|
|
15
15
|
const props = __props;
|
|
16
16
|
const emit = __emit;
|
|
@@ -65,9 +65,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
65
|
assistantStore.toggleChatOpen();
|
|
66
66
|
}
|
|
67
67
|
return (_ctx, _cache) => {
|
|
68
|
-
const
|
|
69
|
-
const
|
|
70
|
-
const
|
|
68
|
+
const _component_N8nIconButton = _sfc_main$1;
|
|
69
|
+
const _component_N8nButton = N8nButton;
|
|
70
|
+
const _component_N8nTooltip = Tooltip;
|
|
71
71
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
72
72
|
!_ctx.createNodeActive ? (openBlock(), createElementBlock("div", {
|
|
73
73
|
key: 0,
|
|
@@ -79,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79
79
|
placement: "left"
|
|
80
80
|
}, {
|
|
81
81
|
default: withCtx(() => [
|
|
82
|
-
createVNode(
|
|
82
|
+
createVNode(_component_N8nIconButton, {
|
|
83
83
|
size: "large",
|
|
84
84
|
icon: "plus",
|
|
85
85
|
type: "tertiary",
|
|
@@ -95,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
95
|
placement: "left"
|
|
96
96
|
}, {
|
|
97
97
|
default: withCtx(() => [
|
|
98
|
-
createVNode(
|
|
98
|
+
createVNode(_component_N8nIconButton, {
|
|
99
99
|
size: "large",
|
|
100
100
|
type: "tertiary",
|
|
101
101
|
icon: "sticky-note",
|
|
@@ -111,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
111
|
placement: "left"
|
|
112
112
|
}, {
|
|
113
113
|
default: withCtx(() => [
|
|
114
|
-
createVNode(
|
|
114
|
+
createVNode(_component_N8nIconButton, {
|
|
115
115
|
type: "tertiary",
|
|
116
116
|
size: "large",
|
|
117
117
|
icon: "panel-right",
|
|
@@ -123,7 +123,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
123
123
|
]),
|
|
124
124
|
_: 1
|
|
125
125
|
}, 8, ["label"]),
|
|
126
|
-
unref(assistantStore).canShowAssistantButtonsOnCanvas ? (openBlock(), createBlock(
|
|
126
|
+
unref(assistantStore).canShowAssistantButtonsOnCanvas ? (openBlock(), createBlock(_component_N8nTooltip, {
|
|
127
127
|
key: 0,
|
|
128
128
|
placement: "left"
|
|
129
129
|
}, {
|
|
@@ -131,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
131
|
createTextVNode(toDisplayString(unref(i18n).baseText("aiAssistant.tooltip")), 1)
|
|
132
132
|
]),
|
|
133
133
|
default: withCtx(() => [
|
|
134
|
-
createVNode(
|
|
134
|
+
createVNode(_component_N8nButton, {
|
|
135
135
|
type: "tertiary",
|
|
136
136
|
size: "large",
|
|
137
137
|
square: "",
|