n8n-editor-ui 1.103.1 → 1.104.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ActionDropdown-BhU4vCrE.js → ActionDropdown-DkHCqhLi.js} +1 -1
- package/dist/assets/{AnimatedSpinner-Du5eXSIY.js → AnimatedSpinner-D6j3zAN7.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DEQTwSbx.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CeptN1qB.js} +1 -1
- package/dist/assets/{AuthView-BJ-YTYTN.js → AuthView-DdzGr3if.js} +2 -2
- package/dist/assets/{ChangePasswordView-B-OkU_yr.js → ChangePasswordView-CLbLuldY.js} +3 -3
- package/dist/assets/CollectionParameter-C3JIvBsy.js +4 -0
- package/dist/assets/ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DwQ0BmLY.js +44 -0
- package/dist/assets/{CredentialsView-BjUZvEdd.js → CredentialsView-Cbm8N2D-.js} +8 -8
- package/dist/assets/{DemoFooter-9WRPL1Nd.js → DemoFooter-DlHqx3Wb.js} +9 -8
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-D3Zaxt4S.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-Dymz7mm-.js} +1 -1
- package/dist/assets/{EntityNotFound-DvAk0XOf.js → EntityNotFound-CmBDOsai.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-BTLaJBAA.js → EntityUnAuthorised-CNPmvmZu.js} +1 -1
- package/dist/assets/{ErrorView-KDDRlAEN.js → ErrorView-BqgIhqko.js} +1 -1
- package/dist/assets/{EvaluationsRootView-BViIGqmh.js → EvaluationsRootView-B6RDbMu9.js} +5 -3
- package/dist/assets/{EvaluationsView-6l_Invxt.css → EvaluationsView-BTyYfInB.css} +6 -6
- package/dist/assets/{EvaluationsView-BY0HmUSo.js → EvaluationsView-nr07_JFX.js} +53 -40
- package/dist/assets/{ExecutionsTime-DkME6I3E.css → ExecutionsTime-Bo7IOE5K.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-Dz1TldYs.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-Ci1SWv1r.js} +15 -12
- package/dist/assets/{ExecutionsView-z5GL4TFM.js → ExecutionsView-L8QB4qb-.js} +21 -18
- package/dist/assets/{FileSaver.min-BRpMoNCX.js → FileSaver.min-CiFUM_59.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-BW_7bc6a.js → FixedCollectionParameter-BMsoLNRT.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-C3yPX8Sm.js → ForgotMyPasswordView-BYKQXHHe.js} +3 -3
- package/dist/assets/{InfoAccordion-B3ebdljQ.js → InfoAccordion-DN17_QNh.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-B07vNUKi.js → InsightsChartAverageRuntime-DX6MWomC.js} +5 -4
- package/dist/assets/{InsightsChartFailed-vwVIlrMM.js → InsightsChartFailed-D1ITW7ip.js} +5 -4
- package/dist/assets/{InsightsChartFailureRate-3R9NR__K.js → InsightsChartFailureRate-DsoCFhrx.js} +5 -4
- package/dist/assets/{InsightsChartTimeSaved-0XAZRsQL.js → InsightsChartTimeSaved-Cwb0-EZ1.js} +5 -4
- package/dist/assets/{InsightsChartTotal-QtHpPQPx.js → InsightsChartTotal-B-SjjDG4.js} +5 -4
- package/dist/assets/{InsightsDashboard-CXbI-Jyg.css → InsightsDashboard-C27Avzrv.css} +2 -2
- package/dist/assets/{InsightsDashboard-jAR8co6U.js → InsightsDashboard-DEaMMGfn.js} +19 -19
- package/dist/assets/{InsightsPaywall-CqlSj87d.js → InsightsPaywall-BsiLaxNd.js} +3 -3
- package/dist/assets/{InsightsSummary-1EyHgtD2.js → InsightsSummary-hBcY77J_.js} +9 -4
- package/dist/assets/{InsightsTableWorkflows-RGpSnp7n.css → InsightsTableWorkflows-BTHSCwX8.css} +27 -3
- package/dist/assets/{InsightsTableWorkflows-CMfER3Lz.js → InsightsTableWorkflows-D9vFPmUm.js} +80 -26
- package/dist/assets/{Logo-BAbynr3J.js → Logo-D-nqGbZ-.js} +1 -1
- package/dist/assets/{LogsPanel-C4P2jfja.js → LogsPanel-D0QGW50a.js} +16 -11
- package/dist/assets/{LogsPanel-Bvy4ANV7.css → LogsPanel-D0xdq4fV.css} +21 -21
- package/dist/assets/{MainHeader-2VAdoAN3.js → MainHeader-QpSmh7DV.js} +17 -16
- package/dist/assets/{MainHeader-DYYEm7nF.css → MainHeader-qSHM1Rvp.css} +12 -12
- package/dist/assets/{MainSidebar-CaLHZgDB.css → MainSidebar-D74VZmM5.css} +7 -8
- package/dist/assets/{MainSidebar-ChT_fvtq.js → MainSidebar-Dndr9Vcx.js} +26 -25
- package/dist/assets/{N8nDataTableServer-CUJVgPuN.js → N8nDataTableServer-B4Gq_Urn.js} +20 -10
- package/dist/assets/{NodeCreation-B0_VqZl0.js → NodeCreation-CRGHu2mV.js} +11 -9
- package/dist/assets/{NodeCreator-Dudc-sld.js → NodeCreator-BvleRmX-.js} +114 -197
- package/dist/assets/{NodeCreator-DWE25utr.css → NodeCreator-CkvY2niF.css} +0 -128
- package/dist/assets/{NodeDetailsView-D3jGDk45.js → NodeDetailsView-xvbRzTfv.js} +21 -16
- package/dist/assets/{NodeDetailsViewV2-B0iyvHRQ.js → NodeDetailsViewV2-CBY4UJcE.js} +21 -16
- package/dist/assets/{NodeView-CX3GlUP1.js → NodeView-Dm74W6kN.js} +2068 -746
- package/dist/assets/{NodeView-hst6fesm.css → NodeView-G2qfXaOy.css} +755 -71
- package/dist/assets/{ProjectHeader-CBBQ32Nc.js → ProjectHeader-0NxiEwQl.js} +2 -2
- package/dist/assets/{ProjectSettings-D7CCWy0v.js → ProjectSettings-ClM6Y9uS.js} +7 -5
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-aTaPuBRW.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-D5JeFl_d.js} +1 -1
- package/dist/assets/{ResourcesListLayout-CR6jD0wL.js → ResourcesListLayout-BRro9C-1.js} +3 -3
- package/dist/assets/{RunDataJson-PZfvyEtF.js → RunDataJson-12Py20Rs.js} +6 -7
- package/dist/assets/{RunDataJsonActions-BmrxonyU.js → RunDataJsonActions-BGl8YYU0.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-b0irqoyM.js → RunDataParsedAiContent-DYz5OPxJ.js} +2 -2
- package/dist/assets/{RunDataSearch-DS17rPDS.js → RunDataSearch-NmwtxOjZ.js} +1 -1
- package/dist/assets/{RunDataTable-DgBV9mGl.js → RunDataTable-DJu8Ut0r.js} +17 -17
- package/dist/assets/{SamlOnboarding-COuXHYGq.js → SamlOnboarding-B5vqtns9.js} +3 -3
- package/dist/assets/{SettingsApiView-Bjmx5RKa.js → SettingsApiView-DmOvPlm6.js} +5 -4
- package/dist/assets/{SettingsCommunityNodesView-JkmQWaRv.js → SettingsCommunityNodesView-DEgzWHlF.js} +4 -3
- package/dist/assets/{SettingsExternalSecrets-unJLQHhU.js → SettingsExternalSecrets-4VNCsQKo.js} +5 -3
- package/dist/assets/{SettingsLdapView-DvZbXhb2.js → SettingsLdapView-BSQe5yy-.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DT_BpBbv.js → SettingsLogStreamingView-Y-ve-MUB.js} +1 -1
- package/dist/assets/{SettingsPersonalView-D0VCYPEd.js → SettingsPersonalView-DTWO2GIc.js} +1 -1
- package/dist/assets/{SettingsSourceControl-CatnTfFf.js → SettingsSourceControl-D14mBzgS.js} +10 -8
- package/dist/assets/{SettingsSso-CxWN7WTJ.js → SettingsSso-Beon1K6u.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-D6TiPwUx.css → SettingsUsageAndPlan-ZZQpCmyQ.css} +3 -3
- package/dist/assets/{SettingsUsageAndPlan-BMsLzUeh.js → SettingsUsageAndPlan-hc6EFbHM.js} +15 -10
- package/dist/assets/{SettingsUsersView-hbKTH9np.js → SettingsUsersView-CIzwxl6-.js} +105 -44
- package/dist/assets/{SettingsUsersView-B81cHl3f.css → SettingsUsersView-RQTdLxyb.css} +11 -7
- package/dist/assets/{SettingsView-C3FWxmaD.js → SettingsView-Bv-AL-MH.js} +1 -1
- package/dist/assets/{SetupView-DdjBoiKa.js → SetupView-BCKg0AbF.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-BX8a8Tuq.js → SetupWorkflowCredentialsButton-djsoNbvZ.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-D9BTRma8.js → SetupWorkflowFromTemplateView-CZhYUSco.js} +3 -3
- package/dist/assets/{SigninView-D8iOgwLO.js → SigninView-BPl0jjB0.js} +3 -3
- package/dist/assets/{SignoutView-DXt0Sdaq.js → SignoutView-BHPz3HFX.js} +1 -1
- package/dist/assets/{SignupView-D6pEOFGY.js → SignupView-Cel8_b46.js} +3 -3
- package/dist/assets/{TableBase-6tpR_KYY.js → TableBase-BIT7ArUw.js} +1 -1
- package/dist/assets/{Tags-3OtmQZg1.js → Tags-CQIEP_IZ.js} +1 -1
- package/dist/assets/{TemplateDetails-Bvec_Syb.js → TemplateDetails-B8u34j2l.js} +2 -2
- package/dist/assets/{TemplateList-B0_W0uvx.js → TemplateList-BJSJYiHs.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-ChXD8R-e.js → TemplatesCollectionView-BCAAV1n9.js} +6 -6
- package/dist/assets/{TemplatesSearchView-B_cMlFlv.js → TemplatesSearchView-CXOrNnyk.js} +3 -3
- package/dist/assets/{TemplatesView-CziYbcJq.js → TemplatesView-1HunP4nN.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-Hb4zWBu5.js → TemplatesWorkflowView-0enp4pR7.js} +6 -6
- package/dist/assets/{TriggerPanel-BsmQ9v2s.js → TriggerPanel-B-Jt4r3F.js} +133 -981
- package/dist/assets/{TriggerPanel-DRpKKKun.css → TriggerPanel-DJv04feX.css} +1 -354
- package/dist/assets/{VariablesView-WOzl2JBK.js → VariablesView-mSWZzDyf.js} +5 -5
- package/dist/assets/VueMarkdown-Dxf59_T_.js +1570 -0
- package/dist/assets/{WorkerView-C0gI6gbP.js → WorkerView-DbqNyqok.js} +6 -5
- package/dist/assets/{WorkflowActivator-B96_pQnb.js → WorkflowActivator-C33REd8m.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DFCLkh95.js → WorkflowExecutionsInfoAccordion-CCe9jbiT.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-B3aM2Zsk.js → WorkflowExecutionsLandingPage-DMXVsIHS.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-D6oMyJtk.js → WorkflowExecutionsPreview-Dit3_l9q.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-BiKDjD1D.js → WorkflowExecutionsView-BwLTPvQ7.js} +8 -8
- package/dist/assets/{WorkflowHistory-CgxAK62K.js → WorkflowHistory-BgNzJgze.js} +6 -6
- package/dist/assets/{WorkflowOnboardingView-tKN781CD.js → WorkflowOnboardingView-Bnvmd6lJ.js} +1 -1
- package/dist/assets/{WorkflowPreview-CDgvgZcr.js → WorkflowPreview-DIDMhnNP.js} +1 -1
- package/dist/assets/{WorkflowsView-zxJZKrLk.js → WorkflowsView-DxtULRby.js} +125 -17
- package/dist/assets/aiTemplatesStarterCollection.store-DrHWcqtc.js +795 -0
- package/dist/assets/{chartjs.utils-EXdTT15A.js → chartjs.utils-DQHNgzzp.js} +2 -2
- package/dist/assets/{en-FjyeYndD.js → en-BX7CKkqE.js} +22 -6
- package/dist/assets/{global-link-actions-NNtNk_7A.js → global-link-actions-DzXrk-LO.js} +1 -1
- package/dist/assets/{import-curl-DcVVML3m.js → import-curl-BrVSOGQW.js} +1 -1
- package/dist/assets/{index-C6LoGNAx.css → index-BWpYwmXd.css} +548 -948
- package/dist/assets/{index-BEC9W_3K.js → index-BmZCxv8-.js} +48318 -42852
- package/dist/assets/{index-CFNl0R-J.js → index-x7t8iCsI.js} +1 -1
- package/dist/assets/{pickBy-BXP1QU1C.js → pickBy-oHD63WOf.js} +1 -1
- package/dist/assets/{templateActions-DWb-SuCl.js → templateActions-_QLqrCsm.js} +1 -1
- package/dist/assets/{typescript.worker-CUj0Nj-S.js → typescript.worker-KwUz68Jx.js} +2499 -157
- package/dist/assets/{useBeforeUnload-uH0nIAM3.js → useBeforeUnload-CBmJdmlS.js} +1 -1
- package/dist/assets/{useExecutionDebugging-bE32iQtx.js → useExecutionDebugging-B22Oj62X.js} +1 -1
- package/dist/assets/{useExecutionHelpers-CXZC4OGe.js → useExecutionHelpers-C6meisqx.js} +1 -1
- package/dist/assets/{useImportCurlCommand-Bxi0W0ub.js → useImportCurlCommand-CCUM_iVn.js} +9 -9
- package/dist/assets/{RunData-D0dKnadD.css → useKeybindings-2A271Jke.css} +134 -2
- package/dist/assets/{RunData-CY2AnQ-5.js → useKeybindings-CcHEvN6i.js} +223 -1644
- package/dist/assets/{useProjectPages-BKkEKuqG.js → useProjectPages-CrI3xlbd.js} +1 -1
- package/dist/assets/{usePushConnection-TyXi_EKD.js → usePushConnection-EYkv1Xyg.js} +10 -2
- package/dist/assets/{useWorkflowActivate-BRxfn_zV.js → useWorkflowActivate-BiorS_mB.js} +1 -1
- package/dist/index.html +3 -7
- package/index.html +1 -5
- package/package.json +1 -1
- package/vite.config.mts +23 -3
- package/dist/assets/CollectionParameter-BHthTTpD.js +0 -4
- package/dist/assets/useKeybindings-BUK7Ngh6.css +0 -133
- package/dist/assets/useKeybindings-D5pwrTFM.js +0 -188
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import { d as defineComponent, h as createElementBlock, g as openBlock, D as mergeProps, j as createBaseVNode, J as renderSlot, f as createCommentVNode, n as normalizeClass, e as createBlock, t as toDisplayString, l as unref,
|
|
2
|
-
import { u as useActions } from "./NodeCreation-
|
|
1
|
+
import { d as defineComponent, h as createElementBlock, g as openBlock, D as mergeProps, j as createBaseVNode, J as renderSlot, f as createCommentVNode, n as normalizeClass, e as createBlock, t as toDisplayString, l as unref, iX as ElTag, w as withCtx, k as createTextVNode, N as N8nIcon, h4 as useI18n, i as createVNode, _ as _export_sfc, eI as reactive, o as onMounted, be as useExternalHooks, I as onBeforeUnmount, bV as toRefs, dR as useNodeCreatorStore, iY as useViewStacks, ff as useNodeType, bH as useNodeTypesStore, r as ref, x as computed, iZ as DEFAULT_SUBCATEGORY, i_ as CREDENTIAL_ONLY_NODE_PREFIX, c as useI18n$1, i$ as shouldShowCommunityNodeDetails, j0 as HITL_SUBCATEGORY, dd as isCommunityPackageName, j1 as isNodePreviewKey, j2 as removePreviewToken, c4 as resolveDirective, bg as createSlots, $ as N8nTooltip, aT as withDirectives, dg as COMMUNITY_NODES_INSTALLATION_DOCS_URL, aU as vShow, P as normalizeStyle, bQ as _sfc_main$o, bP as withModifiers, f3 as DRAG_EVENT_DATA_KEY, az as useTelemetry, j3 as camelCase, j4 as N8nNodeIcon, ip as WEBHOOK_NODE_TYPE, j5 as getNewNodePosition, cD as DEFAULT_NODE_SIZE, u as useUsersStore, p as N8nText, q as N8nButton, j6 as useKeyboardNavigation, a5 as useWorkflowsStore, ab as watch, bW as normalizeProps, bX as guardReactiveProps, b$ as onUnmounted, F as Fragment, y as renderList, fE as N8nLoading, j7 as REGULAR_NODE_CREATOR_VIEW, d8 as useCommunityNodesStore, db as i18n, d9 as captureException, e7 as CUSTOM_API_CALL_KEY, iy as TRIGGER_NODE_CREATOR_VIEW, il as OPEN_AI_NODE_TYPE, ik as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, j8 as withMemo, j9 as HTTP_REQUEST_NODE_TYPE, dw as N8nCallout, er as InfoTip, cZ as createStaticVNode, a2 as N8nLink, ja as REQUEST_NODE_FORM_URL, jb as useCalloutHelpers, jc as filterAndSearchNodes, jd as getRootSearchCallouts, je as prepareCommunityNodeDetailsViewStack, ej as getNodeIconSource, ir as transformNodeType, jf as AINodesView, jg as AIView, jh as RegularView, ji as TriggerView, jj as flattenCreateElements, jk as getHumanInTheLoopActions, jl as AI_OTHERS_NODE_CREATOR_VIEW, jm as AI_NODE_CREATOR_VIEW, a as useToast, du as useCredentialsStore, S as useDebounce, da as N8nNotice, dK as Transition, jn as AI_EVALUATION, jo as AI_UNCATEGORIZED_CATEGORY, T as useUIStore, fa as useAssistantStore, dU as useBuilderStore, a0 as _sfc_main$q, jp as SlideTransition, jq as useActionsGenerator } from "./index-BmZCxv8-.js";
|
|
2
|
+
import { u as useActions } from "./NodeCreation-CRGHu2mV.js";
|
|
3
|
+
import { b as _sfc_main$p, C as CommunityNodeFooter } from "./NodeView-Dm74W6kN.js";
|
|
4
|
+
import "./useKeybindings-CcHEvN6i.js";
|
|
5
|
+
import "./FileSaver.min-CiFUM_59.js";
|
|
6
|
+
import "./useExecutionHelpers-C6meisqx.js";
|
|
7
|
+
import "./ActionDropdown-DkHCqhLi.js";
|
|
8
|
+
import "./import-curl-BrVSOGQW.js";
|
|
9
|
+
import "./global-link-actions-DzXrk-LO.js";
|
|
10
|
+
import "./useExecutionDebugging-B22Oj62X.js";
|
|
11
|
+
import "./useBeforeUnload-CBmJdmlS.js";
|
|
12
|
+
import "./aiTemplatesStarterCollection.store-DrHWcqtc.js";
|
|
3
13
|
const _hoisted_1$b = ["textContent"];
|
|
4
14
|
const _hoisted_2$4 = ["textContent"];
|
|
5
|
-
const _sfc_main$
|
|
15
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
6
16
|
__name: "NodeCreatorNode",
|
|
7
17
|
props: {
|
|
8
18
|
active: { type: Boolean },
|
|
@@ -91,7 +101,7 @@ const name$1 = "_name_190ig_178";
|
|
|
91
101
|
const description$1 = "_description_190ig_184";
|
|
92
102
|
const aiIcon = "_aiIcon_190ig_192";
|
|
93
103
|
const triggerIcon$1 = "_triggerIcon_190ig_196";
|
|
94
|
-
const style0$
|
|
104
|
+
const style0$l = {
|
|
95
105
|
creatorNode,
|
|
96
106
|
hasAction,
|
|
97
107
|
panelIcon,
|
|
@@ -104,12 +114,12 @@ const style0$m = {
|
|
|
104
114
|
aiIcon,
|
|
105
115
|
triggerIcon: triggerIcon$1
|
|
106
116
|
};
|
|
107
|
-
const cssModules$
|
|
108
|
-
"$style": style0$
|
|
117
|
+
const cssModules$l = {
|
|
118
|
+
"$style": style0$l
|
|
109
119
|
};
|
|
110
|
-
const NodeCreatorNode = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
120
|
+
const NodeCreatorNode = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__cssModules", cssModules$l], ["__scopeId", "data-v-878aee66"]]);
|
|
111
121
|
const _hoisted_1$a = ["placeholder", "value"];
|
|
112
|
-
const _sfc_main$
|
|
122
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
113
123
|
__name: "SearchBar",
|
|
114
124
|
props: {
|
|
115
125
|
placeholder: { default: "" },
|
|
@@ -193,7 +203,7 @@ const text = "_text_176yy_148";
|
|
|
193
203
|
const suffix = "_suffix_176yy_164";
|
|
194
204
|
const clear = "_clear_176yy_170";
|
|
195
205
|
const clickable = "_clickable_176yy_183";
|
|
196
|
-
const style0$
|
|
206
|
+
const style0$k = {
|
|
197
207
|
searchContainer,
|
|
198
208
|
prefix,
|
|
199
209
|
active: active$3,
|
|
@@ -202,10 +212,10 @@ const style0$l = {
|
|
|
202
212
|
clear,
|
|
203
213
|
clickable
|
|
204
214
|
};
|
|
205
|
-
const cssModules$
|
|
206
|
-
"$style": style0$
|
|
215
|
+
const cssModules$k = {
|
|
216
|
+
"$style": style0$k
|
|
207
217
|
};
|
|
208
|
-
const SearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
218
|
+
const SearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__cssModules", cssModules$k]]);
|
|
209
219
|
const _hoisted_1$9 = {
|
|
210
220
|
viewBox: "0 0 24 24",
|
|
211
221
|
width: "1.2em",
|
|
@@ -220,7 +230,7 @@ function render$1(_ctx, _cache) {
|
|
|
220
230
|
]));
|
|
221
231
|
}
|
|
222
232
|
const OfficialIcon = { name: "mdi-verified", render: render$1 };
|
|
223
|
-
const _sfc_main$
|
|
233
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
224
234
|
__name: "NodeItem",
|
|
225
235
|
props: {
|
|
226
236
|
nodeType: {},
|
|
@@ -352,7 +362,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
352
362
|
key: 0,
|
|
353
363
|
class: normalizeClass(_ctx.$style.subNodeBackground)
|
|
354
364
|
}, null, 2)) : createCommentVNode("", true),
|
|
355
|
-
createVNode(_sfc_main$
|
|
365
|
+
createVNode(_sfc_main$o, {
|
|
356
366
|
class: normalizeClass(_ctx.$style.nodeIcon),
|
|
357
367
|
"node-type": _ctx.nodeType
|
|
358
368
|
}, null, 8, ["class", "node-type"])
|
|
@@ -364,7 +374,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
364
374
|
class: normalizeClass(_ctx.$style.draggable),
|
|
365
375
|
style: normalizeStyle(draggableStyle.value)
|
|
366
376
|
}, [
|
|
367
|
-
createVNode(_sfc_main$
|
|
377
|
+
createVNode(_sfc_main$o, {
|
|
368
378
|
"node-type": _ctx.nodeType,
|
|
369
379
|
size: 40,
|
|
370
380
|
shrink: false,
|
|
@@ -443,7 +453,7 @@ const draggable$1 = "_draggable_b8za2_149";
|
|
|
443
453
|
const draggableDataTransfer$1 = "_draggableDataTransfer_b8za2_163";
|
|
444
454
|
const icon$1 = "_icon_b8za2_168";
|
|
445
455
|
const official = "_official_b8za2_173";
|
|
446
|
-
const style0$
|
|
456
|
+
const style0$j = {
|
|
447
457
|
nodeItem,
|
|
448
458
|
nodeIcon: nodeIcon$4,
|
|
449
459
|
subNodeBackground,
|
|
@@ -453,11 +463,11 @@ const style0$k = {
|
|
|
453
463
|
icon: icon$1,
|
|
454
464
|
official
|
|
455
465
|
};
|
|
456
|
-
const cssModules$
|
|
457
|
-
"$style": style0$
|
|
466
|
+
const cssModules$j = {
|
|
467
|
+
"$style": style0$j
|
|
458
468
|
};
|
|
459
|
-
const NodeItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
460
|
-
const _sfc_main$
|
|
469
|
+
const NodeItem = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__cssModules", cssModules$j]]);
|
|
470
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
461
471
|
__name: "SubcategoryItem",
|
|
462
472
|
props: {
|
|
463
473
|
item: {}
|
|
@@ -491,15 +501,15 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
491
501
|
}
|
|
492
502
|
});
|
|
493
503
|
const subCategory = "_subCategory_1x5a1_123";
|
|
494
|
-
const style0$
|
|
504
|
+
const style0$i = {
|
|
495
505
|
subCategory
|
|
496
506
|
};
|
|
497
|
-
const cssModules$
|
|
498
|
-
"$style": style0$
|
|
507
|
+
const cssModules$i = {
|
|
508
|
+
"$style": style0$i
|
|
499
509
|
};
|
|
500
|
-
const SubcategoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
510
|
+
const SubcategoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__cssModules", cssModules$i]]);
|
|
501
511
|
const _hoisted_1$8 = ["textContent"];
|
|
502
|
-
const _sfc_main$
|
|
512
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
503
513
|
__name: "LabelItem",
|
|
504
514
|
props: {
|
|
505
515
|
item: {}
|
|
@@ -518,14 +528,14 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
518
528
|
}
|
|
519
529
|
});
|
|
520
530
|
const label$1 = "_label_p81gr_123";
|
|
521
|
-
const style0$
|
|
531
|
+
const style0$h = {
|
|
522
532
|
label: label$1
|
|
523
533
|
};
|
|
524
|
-
const cssModules$
|
|
525
|
-
"$style": style0$
|
|
534
|
+
const cssModules$h = {
|
|
535
|
+
"$style": style0$h
|
|
526
536
|
};
|
|
527
|
-
const LabelItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
528
|
-
const _sfc_main$
|
|
537
|
+
const LabelItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__cssModules", cssModules$h]]);
|
|
538
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
529
539
|
__name: "ActionItem",
|
|
530
540
|
props: {
|
|
531
541
|
nodeType: {},
|
|
@@ -615,7 +625,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
615
625
|
class: normalizeClass(_ctx.$style.draggable),
|
|
616
626
|
style: normalizeStyle(draggableStyle.value)
|
|
617
627
|
}, [
|
|
618
|
-
createVNode(_sfc_main$
|
|
628
|
+
createVNode(_sfc_main$o, {
|
|
619
629
|
"node-type": _ctx.nodeType,
|
|
620
630
|
size: 40,
|
|
621
631
|
shrink: false,
|
|
@@ -627,7 +637,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
627
637
|
])
|
|
628
638
|
]),
|
|
629
639
|
icon: withCtx(() => [
|
|
630
|
-
createVNode(_sfc_main$
|
|
640
|
+
createVNode(_sfc_main$o, { "node-type": _ctx.action }, null, 8, ["node-type"])
|
|
631
641
|
]),
|
|
632
642
|
_: 1
|
|
633
643
|
}, 8, ["class", "title", "is-trigger"]);
|
|
@@ -638,17 +648,17 @@ const action$1 = "_action_1owvg_123";
|
|
|
638
648
|
const nodeIcon$3 = "_nodeIcon_1owvg_135";
|
|
639
649
|
const draggable = "_draggable_1owvg_139";
|
|
640
650
|
const draggableDataTransfer = "_draggableDataTransfer_1owvg_153";
|
|
641
|
-
const style0$
|
|
651
|
+
const style0$g = {
|
|
642
652
|
action: action$1,
|
|
643
653
|
nodeIcon: nodeIcon$3,
|
|
644
654
|
draggable,
|
|
645
655
|
draggableDataTransfer
|
|
646
656
|
};
|
|
647
|
-
const cssModules$
|
|
648
|
-
"$style": style0$
|
|
657
|
+
const cssModules$g = {
|
|
658
|
+
"$style": style0$g
|
|
649
659
|
};
|
|
650
|
-
const ActionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
651
|
-
const _sfc_main$
|
|
660
|
+
const ActionItem = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__cssModules", cssModules$g]]);
|
|
661
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
652
662
|
__name: "ViewItem",
|
|
653
663
|
props: {
|
|
654
664
|
view: {}
|
|
@@ -680,14 +690,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
680
690
|
}
|
|
681
691
|
});
|
|
682
692
|
const view$1 = "_view_17lj9_123";
|
|
683
|
-
const style0$
|
|
693
|
+
const style0$f = {
|
|
684
694
|
view: view$1
|
|
685
695
|
};
|
|
686
|
-
const cssModules$
|
|
687
|
-
"$style": style0$
|
|
696
|
+
const cssModules$f = {
|
|
697
|
+
"$style": style0$f
|
|
688
698
|
};
|
|
689
|
-
const ViewItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
690
|
-
const _sfc_main$
|
|
699
|
+
const ViewItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__cssModules", cssModules$f]]);
|
|
700
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
691
701
|
__name: "LinkItem",
|
|
692
702
|
props: {
|
|
693
703
|
link: {}
|
|
@@ -719,14 +729,14 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
719
729
|
}
|
|
720
730
|
});
|
|
721
731
|
const creatorLink = "_creatorLink_cptk0_123";
|
|
722
|
-
const style0$
|
|
732
|
+
const style0$e = {
|
|
723
733
|
creatorLink
|
|
724
734
|
};
|
|
725
|
-
const cssModules$
|
|
726
|
-
"$style": style0$
|
|
735
|
+
const cssModules$e = {
|
|
736
|
+
"$style": style0$e
|
|
727
737
|
};
|
|
728
|
-
const LinkItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
729
|
-
const _sfc_main$
|
|
738
|
+
const LinkItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__cssModules", cssModules$e]]);
|
|
739
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
730
740
|
__name: "CommunityNodeInstallHint",
|
|
731
741
|
props: {
|
|
732
742
|
hint: {}
|
|
@@ -756,15 +766,15 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
756
766
|
};
|
|
757
767
|
}
|
|
758
768
|
});
|
|
759
|
-
const container$
|
|
760
|
-
const style0$
|
|
761
|
-
container: container$
|
|
769
|
+
const container$4 = "_container_1dwo3_123";
|
|
770
|
+
const style0$d = {
|
|
771
|
+
container: container$4
|
|
762
772
|
};
|
|
763
|
-
const cssModules$
|
|
764
|
-
"$style": style0$
|
|
773
|
+
const cssModules$d = {
|
|
774
|
+
"$style": style0$d
|
|
765
775
|
};
|
|
766
|
-
const CommunityNodeInstallHint = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
767
|
-
const _sfc_main$
|
|
776
|
+
const CommunityNodeInstallHint = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__cssModules", cssModules$d]]);
|
|
777
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
768
778
|
__name: "CommunityNodeItem",
|
|
769
779
|
props: {
|
|
770
780
|
isPreview: { type: Boolean }
|
|
@@ -793,15 +803,15 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
793
803
|
}
|
|
794
804
|
});
|
|
795
805
|
const marginLeft = "_marginLeft_1vvtt_123";
|
|
796
|
-
const style0$
|
|
806
|
+
const style0$c = {
|
|
797
807
|
marginLeft
|
|
798
808
|
};
|
|
799
|
-
const cssModules$
|
|
800
|
-
"$style": style0$
|
|
809
|
+
const cssModules$c = {
|
|
810
|
+
"$style": style0$c
|
|
801
811
|
};
|
|
802
|
-
const CommunityNodeItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
812
|
+
const CommunityNodeItem = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__cssModules", cssModules$c]]);
|
|
803
813
|
const _hoisted_1$7 = ["textContent"];
|
|
804
|
-
const _sfc_main$
|
|
814
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
805
815
|
__name: "CategoryItem",
|
|
806
816
|
props: {
|
|
807
817
|
expanded: { type: Boolean, default: true },
|
|
@@ -861,18 +871,18 @@ const triggerIcon = "_triggerIcon_1kyg0_123";
|
|
|
861
871
|
const category$1 = "_category_1kyg0_128";
|
|
862
872
|
const active$2 = "_active_1kyg0_149";
|
|
863
873
|
const name = "_name_1kyg0_153";
|
|
864
|
-
const style0$
|
|
874
|
+
const style0$b = {
|
|
865
875
|
triggerIcon,
|
|
866
876
|
category: category$1,
|
|
867
877
|
active: active$2,
|
|
868
878
|
name
|
|
869
879
|
};
|
|
870
|
-
const cssModules$
|
|
871
|
-
"$style": style0$
|
|
880
|
+
const cssModules$b = {
|
|
881
|
+
"$style": style0$b
|
|
872
882
|
};
|
|
873
|
-
const CategoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
883
|
+
const CategoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__cssModules", cssModules$b]]);
|
|
874
884
|
const _hoisted_1$6 = ["data-category-collapsed"];
|
|
875
|
-
const _sfc_main$
|
|
885
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
876
886
|
__name: "CategorizedItemsRenderer",
|
|
877
887
|
props: {
|
|
878
888
|
elements: { default: () => [] },
|
|
@@ -1017,18 +1027,18 @@ const categorizedItemsRenderer = "_categorizedItemsRenderer_wk4vn_131";
|
|
|
1017
1027
|
const tooltipPopper = "_tooltipPopper_wk4vn_135";
|
|
1018
1028
|
const contentSlot = "_contentSlot_wk4vn_139";
|
|
1019
1029
|
const preview$1 = "_preview_wk4vn_148";
|
|
1020
|
-
const style0$
|
|
1030
|
+
const style0$a = {
|
|
1021
1031
|
mouseOverTooltip,
|
|
1022
1032
|
categorizedItemsRenderer,
|
|
1023
1033
|
tooltipPopper,
|
|
1024
1034
|
contentSlot,
|
|
1025
1035
|
preview: preview$1
|
|
1026
1036
|
};
|
|
1027
|
-
const cssModules$
|
|
1028
|
-
"$style": style0$
|
|
1037
|
+
const cssModules$a = {
|
|
1038
|
+
"$style": style0$a
|
|
1029
1039
|
};
|
|
1030
|
-
const CategorizedItemsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1031
|
-
const _sfc_main$
|
|
1040
|
+
const CategorizedItemsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__cssModules", cssModules$a]]);
|
|
1041
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
1032
1042
|
__name: "OpenTemplateItem",
|
|
1033
1043
|
props: {
|
|
1034
1044
|
openTemplate: {}
|
|
@@ -1060,18 +1070,18 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1060
1070
|
}
|
|
1061
1071
|
});
|
|
1062
1072
|
const creatorOpenTemplate = "_creatorOpenTemplate_1igyu_123";
|
|
1063
|
-
const style0$
|
|
1073
|
+
const style0$9 = {
|
|
1064
1074
|
creatorOpenTemplate
|
|
1065
1075
|
};
|
|
1066
|
-
const cssModules$
|
|
1067
|
-
"$style": style0$
|
|
1076
|
+
const cssModules$9 = {
|
|
1077
|
+
"$style": style0$9
|
|
1068
1078
|
};
|
|
1069
|
-
const OpenTemplateItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1079
|
+
const OpenTemplateItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__cssModules", cssModules$9]]);
|
|
1070
1080
|
const _hoisted_1$5 = { key: 0 };
|
|
1071
1081
|
const _hoisted_2$3 = ["data-keyboard-nav-type", "data-keyboard-nav-id", "onClick"];
|
|
1072
1082
|
const LAZY_LOAD_THRESHOLD = 20;
|
|
1073
1083
|
const LAZY_LOAD_ITEMS_PER_TICK = 5;
|
|
1074
|
-
const _sfc_main$
|
|
1084
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
1075
1085
|
__name: "ItemsRenderer",
|
|
1076
1086
|
props: {
|
|
1077
1087
|
elements: { default: () => [] },
|
|
@@ -1258,7 +1268,7 @@ const view = "_view_1r9np_159";
|
|
|
1258
1268
|
const link = "_link_1r9np_177";
|
|
1259
1269
|
const borderless = "_borderless_1r9np_195";
|
|
1260
1270
|
const preview = "_preview_1r9np_203";
|
|
1261
|
-
const style0$
|
|
1271
|
+
const style0$8 = {
|
|
1262
1272
|
itemSkeleton,
|
|
1263
1273
|
iteratorItem,
|
|
1264
1274
|
label,
|
|
@@ -1271,11 +1281,11 @@ const style0$9 = {
|
|
|
1271
1281
|
borderless,
|
|
1272
1282
|
preview
|
|
1273
1283
|
};
|
|
1274
|
-
const cssModules$
|
|
1275
|
-
"$style": style0$
|
|
1284
|
+
const cssModules$8 = {
|
|
1285
|
+
"$style": style0$8
|
|
1276
1286
|
};
|
|
1277
|
-
const ItemsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1278
|
-
const _sfc_main$
|
|
1287
|
+
const ItemsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__cssModules", cssModules$8]]);
|
|
1288
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
1279
1289
|
__name: "OrderSwitcher",
|
|
1280
1290
|
props: {
|
|
1281
1291
|
rootView: {}
|
|
@@ -1311,7 +1321,7 @@ const ShieldIcon = { name: "fa-solid-shield-alt", render };
|
|
|
1311
1321
|
const _hoisted_1$3 = { key: 2 };
|
|
1312
1322
|
const _hoisted_2$2 = { key: 3 };
|
|
1313
1323
|
const _hoisted_3 = { style: { "padding-bottom": "8px" } };
|
|
1314
|
-
const _sfc_main$
|
|
1324
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
1315
1325
|
__name: "CommunityNodeInfo",
|
|
1316
1326
|
setup(__props) {
|
|
1317
1327
|
const { activeViewStack } = useViewStacks();
|
|
@@ -1320,6 +1330,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1320
1330
|
const downloads = ref(null);
|
|
1321
1331
|
const verified = ref(false);
|
|
1322
1332
|
const official2 = ref(false);
|
|
1333
|
+
const installedPackage = ref(void 0);
|
|
1323
1334
|
const communityNodesStore = useCommunityNodesStore();
|
|
1324
1335
|
const nodeTypesStore = useNodeTypesStore();
|
|
1325
1336
|
const isOwner = computed(() => useUsersStore().isInstanceOwner);
|
|
@@ -1334,17 +1345,20 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1334
1345
|
const communityNodeAttributes = await nodeTypesStore.getCommunityNodeAttributes(
|
|
1335
1346
|
activeViewStack.communityNodeDetails?.key || ""
|
|
1336
1347
|
);
|
|
1348
|
+
if (communityNodeDetails?.installed) {
|
|
1349
|
+
installedPackage.value = await communityNodesStore.getInstalledPackage(
|
|
1350
|
+
communityNodeDetails.packageName
|
|
1351
|
+
);
|
|
1352
|
+
}
|
|
1337
1353
|
if (communityNodeAttributes) {
|
|
1338
1354
|
publisherName.value = communityNodeAttributes.companyName ?? communityNodeAttributes.authorName;
|
|
1339
1355
|
downloads.value = formatNumber(communityNodeAttributes.numberOfDownloads);
|
|
1340
1356
|
official2.value = communityNodeAttributes.isOfficialNode;
|
|
1341
|
-
|
|
1342
|
-
(p) => p.packageName === communityNodeAttributes.packageName
|
|
1343
|
-
);
|
|
1344
|
-
if (!packageInfo) {
|
|
1357
|
+
if (!installedPackage.value) {
|
|
1345
1358
|
verified.value = true;
|
|
1346
1359
|
} else {
|
|
1347
|
-
|
|
1360
|
+
const verifiedVersions = communityNodeAttributes.nodeVersions?.map((v) => v.npmVersion) ?? [];
|
|
1361
|
+
verified.value = verifiedVersions.includes(installedPackage.value.installedVersion);
|
|
1348
1362
|
}
|
|
1349
1363
|
return;
|
|
1350
1364
|
}
|
|
@@ -1381,6 +1395,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1381
1395
|
}
|
|
1382
1396
|
});
|
|
1383
1397
|
return (_ctx, _cache) => {
|
|
1398
|
+
const _component_CommunityNodeUpdateInfo = _sfc_main$p;
|
|
1384
1399
|
return openBlock(), createElementBlock("div", {
|
|
1385
1400
|
class: normalizeClass(_ctx.$style.container)
|
|
1386
1401
|
}, [
|
|
@@ -1394,9 +1409,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1394
1409
|
]),
|
|
1395
1410
|
_: 1
|
|
1396
1411
|
}, 8, ["class"]),
|
|
1397
|
-
|
|
1412
|
+
isOwner.value && installedPackage.value?.updateAvailable ? (openBlock(), createBlock(_component_CommunityNodeUpdateInfo, {
|
|
1413
|
+
key: 0,
|
|
1414
|
+
"data-test-id": "update-available"
|
|
1415
|
+
})) : (openBlock(), createElementBlock("div", {
|
|
1416
|
+
key: 1,
|
|
1398
1417
|
class: normalizeClass(_ctx.$style.separator)
|
|
1399
|
-
}, null, 2),
|
|
1418
|
+
}, null, 2)),
|
|
1400
1419
|
createBaseVNode("div", {
|
|
1401
1420
|
class: normalizeClass(_ctx.$style.info)
|
|
1402
1421
|
}, [
|
|
@@ -1489,7 +1508,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1489
1508
|
])) : createCommentVNode("", true)
|
|
1490
1509
|
], 2),
|
|
1491
1510
|
!isOwner.value && !unref(communityNodeDetails)?.installed ? (openBlock(), createElementBlock("div", {
|
|
1492
|
-
key:
|
|
1511
|
+
key: 2,
|
|
1493
1512
|
class: normalizeClass(_ctx.$style.contactOwnerHint)
|
|
1494
1513
|
}, [
|
|
1495
1514
|
createVNode(unref(N8nIcon), {
|
|
@@ -1520,15 +1539,15 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1520
1539
|
};
|
|
1521
1540
|
}
|
|
1522
1541
|
});
|
|
1523
|
-
const container$
|
|
1542
|
+
const container$3 = "_container_6y5mo_123";
|
|
1524
1543
|
const nodeIcon$2 = "_nodeIcon_6y5mo_132";
|
|
1525
1544
|
const description = "_description_6y5mo_137";
|
|
1526
1545
|
const separator = "_separator_6y5mo_141";
|
|
1527
1546
|
const info$1 = "_info_6y5mo_147";
|
|
1528
1547
|
const tooltipIcon = "_tooltipIcon_6y5mo_162";
|
|
1529
1548
|
const contactOwnerHint = "_contactOwnerHint_6y5mo_168";
|
|
1530
|
-
const style0$
|
|
1531
|
-
container: container$
|
|
1549
|
+
const style0$7 = {
|
|
1550
|
+
container: container$3,
|
|
1532
1551
|
nodeIcon: nodeIcon$2,
|
|
1533
1552
|
description,
|
|
1534
1553
|
separator,
|
|
@@ -1536,112 +1555,10 @@ const style0$8 = {
|
|
|
1536
1555
|
tooltipIcon,
|
|
1537
1556
|
contactOwnerHint
|
|
1538
1557
|
};
|
|
1539
|
-
const cssModules$8 = {
|
|
1540
|
-
"$style": style0$8
|
|
1541
|
-
};
|
|
1542
|
-
const CommunityNodeInfo = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__cssModules", cssModules$8]]);
|
|
1543
|
-
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
1544
|
-
__name: "CommunityNodeFooter",
|
|
1545
|
-
props: {
|
|
1546
|
-
packageName: {},
|
|
1547
|
-
showManage: { type: Boolean }
|
|
1548
|
-
},
|
|
1549
|
-
setup(__props) {
|
|
1550
|
-
const props = __props;
|
|
1551
|
-
const router = useRouter();
|
|
1552
|
-
const bugsUrl = ref(`https://registry.npmjs.org/${props.packageName}`);
|
|
1553
|
-
async function openSettingsPage() {
|
|
1554
|
-
await router.push({ name: VIEWS.COMMUNITY_NODES });
|
|
1555
|
-
}
|
|
1556
|
-
async function openIssuesPage() {
|
|
1557
|
-
if (bugsUrl.value) {
|
|
1558
|
-
window.open(bugsUrl.value, "_blank");
|
|
1559
|
-
}
|
|
1560
|
-
}
|
|
1561
|
-
async function getBugsUrl(packageName) {
|
|
1562
|
-
const url = `https://registry.npmjs.org/${packageName}`;
|
|
1563
|
-
try {
|
|
1564
|
-
const response = await fetch(url);
|
|
1565
|
-
if (!response.ok) {
|
|
1566
|
-
throw new Error("Could not get metadata for package");
|
|
1567
|
-
}
|
|
1568
|
-
const data = await response.json();
|
|
1569
|
-
if (data.bugs?.url) {
|
|
1570
|
-
bugsUrl.value = data.bugs.url;
|
|
1571
|
-
}
|
|
1572
|
-
} catch (error) {
|
|
1573
|
-
captureException(error);
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
onMounted(async () => {
|
|
1577
|
-
if (props.packageName) {
|
|
1578
|
-
await getBugsUrl(props.packageName);
|
|
1579
|
-
}
|
|
1580
|
-
});
|
|
1581
|
-
return (_ctx, _cache) => {
|
|
1582
|
-
return openBlock(), createElementBlock("div", {
|
|
1583
|
-
class: normalizeClass(_ctx.$style.container)
|
|
1584
|
-
}, [
|
|
1585
|
-
props.showManage ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1586
|
-
createVNode(unref(N8nLink), {
|
|
1587
|
-
theme: "text",
|
|
1588
|
-
onClick: openSettingsPage
|
|
1589
|
-
}, {
|
|
1590
|
-
default: withCtx(() => [
|
|
1591
|
-
createVNode(unref(N8nText), {
|
|
1592
|
-
size: "small",
|
|
1593
|
-
color: "primary",
|
|
1594
|
-
bold: ""
|
|
1595
|
-
}, {
|
|
1596
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
1597
|
-
createTextVNode(" Manage ")
|
|
1598
|
-
])),
|
|
1599
|
-
_: 1
|
|
1600
|
-
})
|
|
1601
|
-
]),
|
|
1602
|
-
_: 1
|
|
1603
|
-
}),
|
|
1604
|
-
createVNode(unref(N8nText), {
|
|
1605
|
-
size: "small",
|
|
1606
|
-
color: "primary",
|
|
1607
|
-
bold: ""
|
|
1608
|
-
}, {
|
|
1609
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
1610
|
-
createTextVNode("|")
|
|
1611
|
-
])),
|
|
1612
|
-
_: 1
|
|
1613
|
-
})
|
|
1614
|
-
], 64)) : createCommentVNode("", true),
|
|
1615
|
-
createVNode(unref(N8nLink), {
|
|
1616
|
-
theme: "text",
|
|
1617
|
-
onClick: openIssuesPage
|
|
1618
|
-
}, {
|
|
1619
|
-
default: withCtx(() => [
|
|
1620
|
-
createVNode(unref(N8nText), {
|
|
1621
|
-
size: "small",
|
|
1622
|
-
color: "primary",
|
|
1623
|
-
bold: ""
|
|
1624
|
-
}, {
|
|
1625
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
1626
|
-
createTextVNode(" Report issue ")
|
|
1627
|
-
])),
|
|
1628
|
-
_: 1
|
|
1629
|
-
})
|
|
1630
|
-
]),
|
|
1631
|
-
_: 1
|
|
1632
|
-
})
|
|
1633
|
-
], 2);
|
|
1634
|
-
};
|
|
1635
|
-
}
|
|
1636
|
-
});
|
|
1637
|
-
const container$3 = "_container_18adw_123";
|
|
1638
|
-
const style0$7 = {
|
|
1639
|
-
container: container$3
|
|
1640
|
-
};
|
|
1641
1558
|
const cssModules$7 = {
|
|
1642
1559
|
"$style": style0$7
|
|
1643
1560
|
};
|
|
1644
|
-
const
|
|
1561
|
+
const CommunityNodeInfo = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__cssModules", cssModules$7]]);
|
|
1645
1562
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
1646
1563
|
__name: "ActionsMode",
|
|
1647
1564
|
emits: ["nodeTypeSelected"],
|
|
@@ -1806,7 +1723,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1806
1723
|
})
|
|
1807
1724
|
}, [
|
|
1808
1725
|
communityNodeDetails.value ? (openBlock(), createBlock(CommunityNodeInfo, { key: 0 })) : createCommentVNode("", true),
|
|
1809
|
-
rootView.value ? (openBlock(), createBlock(_sfc_main$
|
|
1726
|
+
rootView.value ? (openBlock(), createBlock(_sfc_main$9, {
|
|
1810
1727
|
key: 1,
|
|
1811
1728
|
"root-view": rootView.value
|
|
1812
1729
|
}, createSlots({ _: 2 }, [
|
|
@@ -2400,7 +2317,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
2400
2317
|
}
|
|
2401
2318
|
};
|
|
2402
2319
|
return (_ctx, _cache) => {
|
|
2403
|
-
const _component_NodeIcon = _sfc_main$
|
|
2320
|
+
const _component_NodeIcon = _sfc_main$o;
|
|
2404
2321
|
const _component_N8nTooltip = N8nTooltip;
|
|
2405
2322
|
const _component_N8nIcon = N8nIcon;
|
|
2406
2323
|
const _component_N8nButton = N8nButton;
|
|
@@ -2688,7 +2605,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
2688
2605
|
size: 22
|
|
2689
2606
|
}, null, 8, ["class"])
|
|
2690
2607
|
], 2)) : createCommentVNode("", true),
|
|
2691
|
-
activeViewStack.value.nodeIcon ? (openBlock(), createBlock(_sfc_main$
|
|
2608
|
+
activeViewStack.value.nodeIcon ? (openBlock(), createBlock(_sfc_main$o, {
|
|
2692
2609
|
key: 1,
|
|
2693
2610
|
class: normalizeClass(_ctx.$style.nodeIcon),
|
|
2694
2611
|
"icon-source": activeViewStack.value.nodeIcon,
|