n8n-editor-ui 1.100.0 → 1.101.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/ActionDropdown-BmC0wfMx.css +172 -0
- package/dist/assets/ActionDropdown-BujIG0Jq.js +172 -0
- package/dist/assets/{AnimatedSpinner-CmnLqX1g.js → AnimatedSpinner-B5cpb6Fs.js} +3 -3
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-LialmjU-.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BPigGQTI.js} +1 -1
- package/dist/assets/AuthView-BOTPYtpM.js +242 -0
- package/dist/assets/AuthView-DZB9HITQ.css +450 -0
- package/dist/assets/{ChangePasswordView-F2YljaHC.js → ChangePasswordView-DbeC55bz.js} +4 -4
- package/dist/assets/CollectionParameter-CExdr4jd.js +4 -0
- package/dist/assets/{CredentialsView-_HiqTMnI.js → CredentialsView-DUh5K-2r.js} +16 -15
- package/dist/assets/{DemoFooter-BWGzoS_I.js → DemoFooter-BXPfbNJE.js} +7 -6
- package/dist/assets/EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-CDDQIxv5.js +39 -0
- package/dist/assets/{EntityNotFound-Cy9wp8En.js → EntityNotFound-CBUuOOYw.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-CqJIbUWK.js → EntityUnAuthorised-7xgN3ECo.js} +1 -1
- package/dist/assets/{ErrorView-Kpuz8zoT.js → ErrorView-BVfcsoOa.js} +4 -4
- package/dist/assets/{EvaluationsRootView-HfYQYHAD.js → EvaluationsRootView-BjrpKDj-.js} +2 -2
- package/dist/assets/{EvaluationsView-i9O4Pq6o.js → EvaluationsView-DdmFZCH-.js} +9 -9
- package/dist/assets/{ExecutionsTime-BDLkVZem.css → ExecutionsTime-kMSlccIr.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-BHONBvt7.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-Ctx5Ybnr.js} +24 -19
- package/dist/assets/{ExecutionsView-BY23VFik.js → ExecutionsView-8BjGHy2I.js} +13 -12
- package/dist/assets/{ExecutionsView-ChOXAON3.css → ExecutionsView-DSsowKj4.css} +1 -1
- package/dist/assets/{FileSaver.min-CxOI-Vgx.js → FileSaver.min-C5wzcK59.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-Dj0393fQ.js → FixedCollectionParameter-BrPQ5Vay.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-yMWlCT90.js → ForgotMyPasswordView-L0afefc1.js} +3 -3
- package/dist/assets/InfoAccordion-CEk3XG5b.js +146 -0
- package/dist/assets/InfoAccordion-dxudNqVC.css +168 -0
- package/dist/assets/{InsightsChartAverageRuntime-CAzHGVRl.js → InsightsChartAverageRuntime-BrwBWr_R.js} +4 -4
- package/dist/assets/{InsightsChartFailed-DQ9ntBQJ.js → InsightsChartFailed-ILKWvikG.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-DVZarv-u.js → InsightsChartFailureRate-D1AVYwU7.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-CAhRkqgH.js → InsightsChartTimeSaved-D49Rwn6-.js} +4 -4
- package/dist/assets/{InsightsChartTotal-C60cS-Xa.js → InsightsChartTotal-Bs-pUgA3.js} +4 -4
- package/dist/assets/{InsightsDashboard-DM-I5QbW.js → InsightsDashboard-BIC4uZpW.js} +12 -12
- package/dist/assets/{InsightsPaywall-BLHoSCNL.js → InsightsPaywall-DmwFI-6e.js} +4 -4
- package/dist/assets/{InsightsSummary-JPw9kN4a.js → InsightsSummary-D9lEzWNT.js} +3 -3
- package/dist/assets/InsightsTableWorkflows-CC8t-sAL.js +3355 -0
- package/dist/assets/{Logo-C699HbA_.js → Logo-DNxOhbuV.js} +1 -1
- package/dist/assets/{LogsPanel-BWnaJuFj.js → LogsPanel-DvWnD7rJ.js} +21 -18
- package/dist/assets/{MainHeader-Ce0GAh6o.js → MainHeader-BVHIuVVT.js} +165 -22
- package/dist/assets/{MainHeader--6ITU977.css → MainHeader-DYYEm7nF.css} +202 -12
- package/dist/assets/{MainSidebar-CooH0xuY.js → MainSidebar-CEHr93uL.js} +305 -92
- package/dist/assets/{MainSidebar-DrjvHIqG.css → MainSidebar-DqrgzqvZ.css} +209 -48
- package/dist/assets/{NodeCreation-RKvezEeg.css → NodeCreation-32nlvQSy.css} +4 -24
- package/dist/assets/{NodeCreation-T5AfZVS1.js → NodeCreation-Bq5626Ha.js} +75 -81
- package/dist/assets/{NodeCreator-4g3-zQj6.js → NodeCreator-D7xT3ogw.js} +156 -42
- package/dist/assets/{NodeCreator-B1jJcOYT.css → NodeCreator-Dk0sNXFZ.css} +212 -0
- package/dist/assets/{NodeDetailsView-DWA1ZgwG.css → NodeDetailsView-BaIj2qAa.css} +241 -0
- package/dist/assets/{NodeDetailsView-BvClCeyF.js → NodeDetailsView-DB-5JPUD.js} +81 -56
- package/dist/assets/{NodeView-RurRbUaI.css → NodeView-DL8JxnMc.css} +516 -125
- package/dist/assets/{NodeView-DWCMsw1d.js → NodeView-DoR46iB5.js} +1393 -988
- package/dist/assets/{ProjectHeader-C7A20kgK.js → ProjectHeader-DSKKwiQ0.js} +14 -10
- package/dist/assets/{ProjectSettings-DVNR9FN4.js → ProjectSettings-C3sMIDHh.js} +366 -22
- package/dist/assets/{WorkflowActivator-C0R6Yly0.css → ProjectSettings-CCVXNK3G.css} +97 -43
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-D-uuE-zX.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-cnANEo9o.js} +2 -2
- package/dist/assets/{ResourcesListLayout-D0WMvHN_.js → ResourcesListLayout-BVbjqFbc.js} +349 -24
- package/dist/assets/{ResourcesListLayout-D6zDTXm4.css → ResourcesListLayout-uBbUHbxU.css} +8 -8
- package/dist/assets/{RunData-C-tqFRZO.js → RunData-DG20AzLo.js} +16 -15
- package/dist/assets/{RunDataJson-pe7NZQoH.js → RunDataJson-7okRLIES.js} +7 -6
- package/dist/assets/{RunDataJsonActions-3CT6wqXW.js → RunDataJsonActions-Qkg8HmUd.js} +2 -2
- package/dist/assets/{RunDataParsedAiContent-CGCVmkuV.js → RunDataParsedAiContent-DRO1Bjsh.js} +5 -4
- package/dist/assets/{RunDataSearch-jkQ60p9j.js → RunDataSearch-D5eQUWvi.js} +3 -3
- package/dist/assets/{RunDataTable-BqU63PyF.js → RunDataTable-CJmmTtEp.js} +115 -4
- package/dist/assets/{RunDataTable-CUxj7dHx.css → RunDataTable-CykHIwNT.css} +129 -0
- package/dist/assets/{SamlOnboarding-tGJha_9t.js → SamlOnboarding-ClxYfm5z.js} +3 -3
- package/dist/assets/{SettingsApiView-DkeogFEJ.js → SettingsApiView-Ds7FYVrN.js} +13 -13
- package/dist/assets/{SettingsCommunityNodesView-DdKQ7Jg5.js → SettingsCommunityNodesView-QKvLs6gi.js} +13 -13
- package/dist/assets/{SettingsExternalSecrets-CIvPLpaR.js → SettingsExternalSecrets-DGRdvsMy.js} +9 -9
- package/dist/assets/{SettingsLdapView-u9uiXIG8.js → SettingsLdapView-C_LJwixk.js} +6 -6
- package/dist/assets/{SettingsLogStreamingView-CQDEQGxK.js → SettingsLogStreamingView-CaEJvgJ9.js} +9 -9
- package/dist/assets/{SettingsPersonalView-ta7XbuCV.js → SettingsPersonalView-DlwXaGDs.js} +13 -12
- package/dist/assets/{SettingsSourceControl-DxbBCbMO.js → SettingsSourceControl-B6eULOfX.js} +23 -12
- package/dist/assets/{AuthView-jgkkdJYL.css → SettingsSourceControl-BBxJXbFC.css} +82 -32
- package/dist/assets/{SettingsSso-Bp4pf_0a.js → SettingsSso-5zcg-J4E.js} +11 -11
- package/dist/assets/{SettingsUsageAndPlan-D680YlPQ.js → SettingsUsageAndPlan-CMBvYdjo.js} +10 -10
- package/dist/assets/{SettingsUsageAndPlan-Bc3LLaWe.css → SettingsUsageAndPlan-D6TiPwUx.css} +3 -3
- package/dist/assets/{SettingsUsersView-DP2nppP6.js → SettingsUsersView-BL3TAhT8.js} +13 -12
- package/dist/assets/{SettingsView-BUpTI--W.js → SettingsView-BuDKhqwZ.js} +4 -4
- package/dist/assets/{SetupView-Bocro878.js → SetupView-DSaQcQDF.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DODNIDNV.js → SetupWorkflowCredentialsButton-BWISZAxq.js} +2 -2
- package/dist/assets/{SetupWorkflowFromTemplateView-BLzrIJTt.js → SetupWorkflowFromTemplateView-CfDWCwoA.js} +6 -6
- package/dist/assets/{SigninView-2_f1aXTx.js → SigninView-BpjyswHb.js} +17 -20
- package/dist/assets/{SignoutView-oMETilwl.js → SignoutView-f_CoUl4S.js} +1 -1
- package/dist/assets/{SignupView-CYMsjH_L.js → SignupView-q3f9g3P9.js} +3 -3
- package/dist/assets/{SettingsSourceControl-DxshapuD.css → TableBase-Bf42_9Yp.css} +52 -67
- package/dist/assets/TableBase-DruQl-SO.js +28 -0
- package/dist/assets/{ProjectSettings-8tvaQJye.css → Tags-B0bIUnzf.css} +48 -39
- package/dist/assets/Tags-DbmKHzWo.js +95 -0
- package/dist/assets/{TemplateDetails-CmL1Gj71.js → TemplateDetails-DP_5pkzG.js} +17 -9
- package/dist/assets/{TemplateList-DpqrSF2u.js → TemplateList-y8Aumcsb.js} +6 -6
- package/dist/assets/{TemplatesCollectionView-DVlz-_MJ.js → TemplatesCollectionView-VdQpHtxs.js} +13 -12
- package/dist/assets/{TemplatesSearchView-CcToWnkG.js → TemplatesSearchView-BUcYRVEK.js} +16 -12
- package/dist/assets/{TemplatesView-CXH6dh9Y.js → TemplatesView-4DUEEEtD.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-DL9rIrAK.js → TemplatesWorkflowView--zUXMB8f.js} +12 -11
- package/dist/assets/{VariablesView-CX3umLhX.js → VariablesView-DoWb0Vtv.js} +7 -6
- package/dist/assets/{VariablesView-2BSJPXRB.css → VariablesView-Kog_9PMT.css} +8 -5
- package/dist/assets/{WorkerView-C5XLf-D-.js → WorkerView-D56d7XJA.js} +18 -18
- package/dist/assets/WorkflowActivator-BJPsIkXE.css +836 -0
- package/dist/assets/{WorkflowActivator-Bzz5eOg4.js → WorkflowActivator-CQxaDCfA.js} +313 -19
- package/dist/assets/{WorkflowExecutionsInfoAccordion-UVslt3c0.js → WorkflowExecutionsInfoAccordion-D9p_ZqmA.js} +6 -5
- package/dist/assets/{WorkflowExecutionsLandingPage-C1xNEQ3_.js → WorkflowExecutionsLandingPage-CymYth6K.js} +6 -5
- package/dist/assets/{WorkflowExecutionsPreview--Vn3C-sa.js → WorkflowExecutionsPreview-DRvf3WQC.js} +18 -18
- package/dist/assets/{WorkflowExecutionsView-_l8AgWIb.css → WorkflowExecutionsView-C_xuUSa8.css} +2 -2
- package/dist/assets/{WorkflowExecutionsView-B_Pvn_mZ.js → WorkflowExecutionsView-DxiIaUKV.js} +18 -15
- package/dist/assets/{WorkflowHistory-CQLQcsG4.js → WorkflowHistory-DBPIq2u7.js} +14 -13
- package/dist/assets/{WorkflowOnboardingView-DJZD6lcQ.js → WorkflowOnboardingView-D4QKSetf.js} +1 -1
- package/dist/assets/{WorkflowPreview-CAv2jWEf.js → WorkflowPreview-D3YRZjYi.js} +3 -3
- package/dist/assets/{WorkflowsView-9oLDmGMf.js → WorkflowsView-DPADmBVd.js} +37 -32
- package/dist/assets/{chartjs.utils-D3bkyfMC.js → chartjs.utils-Cou_ISuU.js} +2 -2
- package/dist/assets/{en-BUHUsdZz.js → en-DzZibgm_.js} +15 -1
- package/dist/assets/{global-link-actions-CudV1inR.js → global-link-actions-olwfH36z.js} +1 -1
- package/dist/assets/{import-curl-Q2R3Aa93.js → import-curl-DD21H3kK.js} +1 -1
- package/dist/assets/{index-ZImlcrmd.js → index-7S5ADieN.js} +177205 -181453
- package/dist/assets/{index-CeLskvTy.css → index-BzamKJpD.css} +2688 -5455
- package/dist/assets/{index-Cjj5DRsU.js → index-uJOu4Uio.js} +1 -1
- package/dist/assets/{pickBy-C61vriIY.js → pickBy-DPxZbMic.js} +1 -1
- package/dist/assets/{polyfills-deFGRMT9.js → polyfills-B8p9DdqU.js} +388 -1
- package/dist/assets/{templateActions-DgE3PfYi.js → templateActions-DJJfyIhq.js} +1 -1
- package/dist/assets/{typescript.worker-DIrCbxuR.js → typescript.worker-CUj0Nj-S.js} +39 -39
- package/dist/assets/{useBeforeUnload-CX6OL9lX.js → useBeforeUnload-DveXGtGN.js} +1 -1
- package/dist/assets/{useExecutionDebugging-Bw29Xcz_.js → useExecutionDebugging-DM4nhx6D.js} +1 -1
- package/dist/assets/{useExecutionHelpers-DfJOrkT9.js → useExecutionHelpers-BfF56crp.js} +1 -1
- package/dist/assets/{useImportCurlCommand-BtBYH8AF.js → useImportCurlCommand-BAgQhwtE.js} +11 -11
- package/dist/assets/{ProjectCardBadge-t3v64i1e.css → useKeybindings-BUK7Ngh6.css} +10 -31
- package/dist/assets/{useKeybindings-Dl2fatxs.js → useKeybindings-CV0VsjNP.js} +35 -1
- package/dist/assets/{useProjectPages-wyiRSAYY.js → useProjectPages-DgMGWOaO.js} +1 -1
- package/dist/assets/{usePushConnection-DbNbVMYT.js → usePushConnection-D8SE-itT.js} +3 -2
- package/dist/assets/{useWorkflowActivate-CnaSqjqM.js → useWorkflowActivate-BKz3N1SO.js} +1 -1
- package/dist/index.html +3 -3
- package/eslint.config.mjs +58 -0
- package/package.json +2 -1
- package/postcss.config.cjs +6 -0
- package/vite.config.mts +4 -0
- package/dist/assets/AuthView-BBEIdfYQ.js +0 -130
- package/dist/assets/CollectionParameter-_4aFNEaG.js +0 -4
- package/dist/assets/InsightsTableWorkflows-Cs0bf9Y9.js +0 -176
- package/dist/assets/ProjectCardBadge-saH09Hgi.js +0 -237
|
@@ -120,8 +120,36 @@
|
|
|
120
120
|
-------------------------- */
|
|
121
121
|
/* BEM
|
|
122
122
|
-------------------------- */
|
|
123
|
-
.
|
|
124
|
-
|
|
123
|
+
._tag_49pvx_123 {
|
|
124
|
+
display: -webkit-box;
|
|
125
|
+
display: -ms-flexbox;
|
|
126
|
+
display: flex;
|
|
127
|
+
-webkit-box-align: center;
|
|
128
|
+
-ms-flex-align: center;
|
|
129
|
+
align-items: center;
|
|
130
|
+
-webkit-box-pack: center;
|
|
131
|
+
-ms-flex-pack: center;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
min-width: -webkit-max-content;
|
|
134
|
+
min-width: -moz-max-content;
|
|
135
|
+
min-width: max-content;
|
|
136
|
+
height: var(--tag-height);
|
|
137
|
+
padding: var(--tag-padding);
|
|
138
|
+
line-height: var(--tag-line-height);
|
|
139
|
+
color: var(--tag-text-color);
|
|
140
|
+
background-color: var(--tag-background-color);
|
|
141
|
+
border: 1px solid var(--tag-border-color);
|
|
142
|
+
border-radius: var(--tag-border-radius);
|
|
143
|
+
font-size: var(--tag-font-size);
|
|
144
|
+
-webkit-transition: background-color 0.3s ease;
|
|
145
|
+
transition: background-color 0.3s ease;
|
|
146
|
+
}
|
|
147
|
+
._tag_49pvx_123._clickable_49pvx_138 {
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
}
|
|
150
|
+
._tag_49pvx_123._clickable_49pvx_138:hover {
|
|
151
|
+
background-color: var(--tag-background-hover-color);
|
|
152
|
+
border-color: var(--tag-border-hover-color);
|
|
125
153
|
}/* BEM support Func
|
|
126
154
|
-------------------------- */
|
|
127
155
|
/* Transition
|
|
@@ -244,42 +272,23 @@
|
|
|
244
272
|
-------------------------- */
|
|
245
273
|
/* BEM
|
|
246
274
|
-------------------------- */
|
|
247
|
-
.
|
|
248
|
-
display:
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
margin-bottom: var(--spacing-xs);
|
|
264
|
-
font-size: var(--font-size-xl);
|
|
265
|
-
}
|
|
266
|
-
._header_g68s8_143 {
|
|
267
|
-
width: 100%;
|
|
268
|
-
max-width: var(--content-container-width);
|
|
269
|
-
padding: var(--spacing-l) var(--spacing-2xl) 0;
|
|
270
|
-
}
|
|
271
|
-
._upgrade_g68s8_149 {
|
|
272
|
-
cursor: pointer;
|
|
273
|
-
}
|
|
274
|
-
._buttons_g68s8_153 {
|
|
275
|
-
display: flex;
|
|
276
|
-
justify-content: flex-end;
|
|
277
|
-
align-items: center;
|
|
278
|
-
}
|
|
279
|
-
._project-name_g68s8_159 {
|
|
280
|
-
display: flex;
|
|
281
|
-
gap: var(--spacing-2xs);
|
|
275
|
+
._tags_1q3u8_123 {
|
|
276
|
+
display: -webkit-inline-box;
|
|
277
|
+
display: -ms-inline-flexbox;
|
|
278
|
+
display: inline-flex;
|
|
279
|
+
-ms-flex-wrap: wrap;
|
|
280
|
+
flex-wrap: wrap;
|
|
281
|
+
-webkit-box-align: center;
|
|
282
|
+
-ms-flex-align: center;
|
|
283
|
+
align-items: center;
|
|
284
|
+
overflow-x: scroll;
|
|
285
|
+
gap: var(--spacing-4xs);
|
|
286
|
+
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
287
|
+
/* Hide scrollbar for IE, Edge and Firefox */
|
|
288
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
289
|
+
scrollbar-width: none; /* Firefox */
|
|
290
|
+
margin-top: calc(var(--spacing-4xs) * -1);
|
|
282
291
|
}
|
|
283
|
-
.
|
|
284
|
-
|
|
292
|
+
._tags_1q3u8_123::-webkit-scrollbar {
|
|
293
|
+
display: none;
|
|
285
294
|
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { d as defineComponent, i as createElementBlock, g as openBlock, D as mergeProps, J as renderSlot, t as toDisplayString, _ as _export_sfc, r as ref, x as computed, n as normalizeClass, e as createBlock, f as createCommentVNode, F as Fragment, y as renderList, m as unref, a0 as N8nLink, bV as withModifiers, w as withCtx, l as createTextVNode, gM as useI18n } from "./index-7S5ADieN.js";
|
|
2
|
+
const _hoisted_1 = { key: 1 };
|
|
3
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
|
+
...{ name: "N8nTag" },
|
|
5
|
+
__name: "Tag",
|
|
6
|
+
props: {
|
|
7
|
+
text: {},
|
|
8
|
+
clickable: { type: Boolean, default: true }
|
|
9
|
+
},
|
|
10
|
+
setup(__props) {
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return openBlock(), createElementBlock("span", mergeProps({
|
|
13
|
+
class: ["n8n-tag", _ctx.$style.tag, { [_ctx.$style.clickable]: _ctx.clickable }]
|
|
14
|
+
}, _ctx.$attrs), [
|
|
15
|
+
_ctx.$slots["tag"] ? renderSlot(_ctx.$slots, "tag", { key: 0 }) : (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(_ctx.text), 1))
|
|
16
|
+
], 16);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
const tag = "_tag_49pvx_123";
|
|
21
|
+
const clickable = "_clickable_49pvx_138";
|
|
22
|
+
const style0$1 = {
|
|
23
|
+
tag,
|
|
24
|
+
clickable
|
|
25
|
+
};
|
|
26
|
+
const cssModules$1 = {
|
|
27
|
+
"$style": style0$1
|
|
28
|
+
};
|
|
29
|
+
const Tag = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
|
|
30
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
|
+
...{ name: "N8nTags" },
|
|
32
|
+
__name: "Tags",
|
|
33
|
+
props: {
|
|
34
|
+
tags: { default: () => [] },
|
|
35
|
+
truncate: { type: Boolean, default: false },
|
|
36
|
+
truncateAt: { default: 3 },
|
|
37
|
+
clickable: { type: Boolean, default: true }
|
|
38
|
+
},
|
|
39
|
+
emits: ["expand", "click:tag"],
|
|
40
|
+
setup(__props, { emit: __emit }) {
|
|
41
|
+
const props = __props;
|
|
42
|
+
const emit = __emit;
|
|
43
|
+
const { t } = useI18n();
|
|
44
|
+
const showAll = ref(false);
|
|
45
|
+
const visibleTags = computed(() => {
|
|
46
|
+
const { tags: tags2, truncate, truncateAt } = props;
|
|
47
|
+
if (truncate && !showAll.value && tags2.length > truncateAt) {
|
|
48
|
+
return tags2.slice(0, truncateAt);
|
|
49
|
+
}
|
|
50
|
+
return tags2;
|
|
51
|
+
});
|
|
52
|
+
const hiddenTagsLength = computed(() => props.tags.length - props.truncateAt);
|
|
53
|
+
const onExpand = () => {
|
|
54
|
+
showAll.value = true;
|
|
55
|
+
emit("expand", true);
|
|
56
|
+
};
|
|
57
|
+
return (_ctx, _cache) => {
|
|
58
|
+
return openBlock(), createElementBlock("div", {
|
|
59
|
+
class: normalizeClass(["n8n-tags", _ctx.$style.tags])
|
|
60
|
+
}, [
|
|
61
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleTags.value, (tag2) => {
|
|
62
|
+
return openBlock(), createBlock(unref(Tag), {
|
|
63
|
+
key: tag2.id,
|
|
64
|
+
text: tag2.name,
|
|
65
|
+
clickable: _ctx.clickable,
|
|
66
|
+
onClick: ($event) => emit("click:tag", tag2.id, $event)
|
|
67
|
+
}, null, 8, ["text", "clickable", "onClick"]);
|
|
68
|
+
}), 128)),
|
|
69
|
+
_ctx.truncate && !showAll.value && hiddenTagsLength.value > 0 ? (openBlock(), createBlock(unref(N8nLink), {
|
|
70
|
+
key: 0,
|
|
71
|
+
theme: "text",
|
|
72
|
+
underline: "",
|
|
73
|
+
size: "small",
|
|
74
|
+
onClick: withModifiers(onExpand, ["stop", "prevent"])
|
|
75
|
+
}, {
|
|
76
|
+
default: withCtx(() => [
|
|
77
|
+
createTextVNode(toDisplayString(unref(t)("tags.showMore", [`${hiddenTagsLength.value}`])), 1)
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
})) : createCommentVNode("", true)
|
|
81
|
+
], 2);
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
const tags = "_tags_1q3u8_123";
|
|
86
|
+
const style0 = {
|
|
87
|
+
tags
|
|
88
|
+
};
|
|
89
|
+
const cssModules = {
|
|
90
|
+
"$style": style0
|
|
91
|
+
};
|
|
92
|
+
const Tags = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
93
|
+
export {
|
|
94
|
+
Tags as T
|
|
95
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
1
|
+
import { d as defineComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, N as N8nHeading, J as renderSlot, _ as _export_sfc, b as useRouter, bd as useTemplatesStore, x as computed, e as createBlock, f as createCommentVNode, eQ as N8nLoading, F as Fragment, y as renderList, bW as _sfc_main$2, m as unref, fD as filterTemplateNodes, c as useI18n, p as N8nText, fE as _sfc_main$3, fF as abbreviateNumber } from "./index-7S5ADieN.js";
|
|
2
|
+
import { T as Tags } from "./Tags-DbmKHzWo.js";
|
|
2
3
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3
4
|
__name: "TemplateDetailsBlock",
|
|
4
5
|
props: {
|
|
@@ -6,7 +7,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
6
7
|
},
|
|
7
8
|
setup(__props) {
|
|
8
9
|
return (_ctx, _cache) => {
|
|
9
|
-
const _component_n8n_heading =
|
|
10
|
+
const _component_n8n_heading = N8nHeading;
|
|
10
11
|
return openBlock(), createElementBlock("div", {
|
|
11
12
|
class: normalizeClass(_ctx.$style.block)
|
|
12
13
|
}, [
|
|
@@ -59,9 +60,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
59
60
|
loading: { type: Boolean }
|
|
60
61
|
},
|
|
61
62
|
setup(__props) {
|
|
63
|
+
const props = __props;
|
|
62
64
|
const router = useRouter();
|
|
63
65
|
const i18n = useI18n();
|
|
64
66
|
const templatesStore = useTemplatesStore();
|
|
67
|
+
const categoriesAsTags = computed(
|
|
68
|
+
() => props.template && "categories" in props.template ? props.template.categories.map((category) => ({
|
|
69
|
+
id: `${category.id}`,
|
|
70
|
+
name: category.name
|
|
71
|
+
})) : []
|
|
72
|
+
);
|
|
65
73
|
const redirectToCategory = (id) => {
|
|
66
74
|
templatesStore.resetSessionId();
|
|
67
75
|
void router.push(`/templates?categories=${id}`);
|
|
@@ -71,9 +79,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
79
|
void router.push(`/templates?search=${node.displayName}`);
|
|
72
80
|
};
|
|
73
81
|
return (_ctx, _cache) => {
|
|
74
|
-
const _component_n8n_loading =
|
|
75
|
-
const _component_n8n_tags =
|
|
76
|
-
const _component_n8n_text =
|
|
82
|
+
const _component_n8n_loading = N8nLoading;
|
|
83
|
+
const _component_n8n_tags = Tags;
|
|
84
|
+
const _component_n8n_text = N8nText;
|
|
77
85
|
return openBlock(), createElementBlock("div", null, [
|
|
78
86
|
createVNode(_component_n8n_loading, {
|
|
79
87
|
loading: _ctx.loading,
|
|
@@ -105,13 +113,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
113
|
]),
|
|
106
114
|
_: 1
|
|
107
115
|
}, 8, ["title"])) : createCommentVNode("", true),
|
|
108
|
-
!_ctx.loading && unref(isFullTemplatesCollection)(_ctx.template) &&
|
|
116
|
+
!_ctx.loading && unref(isFullTemplatesCollection)(_ctx.template) && categoriesAsTags.value.length > 0 ? (openBlock(), createBlock(TemplateDetailsBlock, {
|
|
109
117
|
key: 1,
|
|
110
118
|
title: unref(i18n).baseText("template.details.categories")
|
|
111
119
|
}, {
|
|
112
120
|
default: withCtx(() => [
|
|
113
121
|
createVNode(_component_n8n_tags, {
|
|
114
|
-
tags:
|
|
122
|
+
tags: categoriesAsTags.value,
|
|
115
123
|
"onClick:tag": redirectToCategory
|
|
116
124
|
}, null, 8, ["tags"])
|
|
117
125
|
]),
|
|
@@ -172,8 +180,8 @@ const style0 = {
|
|
|
172
180
|
const cssModules = {
|
|
173
181
|
"$style": style0
|
|
174
182
|
};
|
|
175
|
-
const
|
|
183
|
+
const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
176
184
|
export {
|
|
177
|
-
|
|
185
|
+
__unplugin_components_6 as _,
|
|
178
186
|
isFullTemplatesCollection as i
|
|
179
187
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, x as computed,
|
|
1
|
+
import { d as defineComponent, x as computed, fD as filterTemplateNodes, i as createElementBlock, g as openBlock, n as normalizeClass, f as createCommentVNode, F as Fragment, y as renderList, j as createVNode, bW as _sfc_main$3, t as toDisplayString, _ as _export_sfc, h as resolveComponent, eQ as N8nLoading, w as withCtx, l as createTextVNode, N as N8nHeading, e as createBlock, m as unref, fF as abbreviateNumber, p as N8nText, fE as _sfc_main$4, c as useI18n, q as N8nButton, bV as withModifiers, r as ref, o as onMounted, I as onBeforeUnmount, k as createBaseVNode } from "./index-7S5ADieN.js";
|
|
2
2
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "NodeList",
|
|
4
4
|
props: {
|
|
@@ -92,11 +92,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
92
92
|
emit("click", e);
|
|
93
93
|
}
|
|
94
94
|
return (_ctx, _cache) => {
|
|
95
|
-
const _component_n8n_loading =
|
|
96
|
-
const _component_n8n_heading =
|
|
95
|
+
const _component_n8n_loading = N8nLoading;
|
|
96
|
+
const _component_n8n_heading = N8nHeading;
|
|
97
97
|
const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
|
|
98
|
-
const _component_n8n_text =
|
|
99
|
-
const _component_n8n_button =
|
|
98
|
+
const _component_n8n_text = N8nText;
|
|
99
|
+
const _component_n8n_button = N8nButton;
|
|
100
100
|
return openBlock(), createElementBlock("div", {
|
|
101
101
|
class: normalizeClass([
|
|
102
102
|
_ctx.$style.card,
|
|
@@ -292,7 +292,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
292
292
|
emit("useWorkflow", { event, id });
|
|
293
293
|
}
|
|
294
294
|
return (_ctx, _cache) => {
|
|
295
|
-
const _component_n8n_heading =
|
|
295
|
+
const _component_n8n_heading = N8nHeading;
|
|
296
296
|
return _ctx.loading || _ctx.workflows.length ? (openBlock(), createElementBlock("div", {
|
|
297
297
|
key: 0,
|
|
298
298
|
class: normalizeClass(_ctx.$style.list)
|
package/dist/assets/{TemplatesCollectionView-DVlz-_MJ.js → TemplatesCollectionView-VdQpHtxs.js}
RENAMED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
import {
|
|
3
|
-
import { T as
|
|
4
|
-
import {
|
|
5
|
-
import { u as useTemplateWorkflow } from "./templateActions-
|
|
1
|
+
import { d as defineComponent, bd as useTemplatesStore, bN as useNodeTypesStore, a4 as useRoute, b as useRouter, ah as useDocumentTitle, r as ref, x as computed, a9 as watch, o as onMounted, e as createBlock, g as openBlock, bh as createSlots, w as withCtx, k as createBaseVNode, n as normalizeClass, i as createElementBlock, f as createCommentVNode, j as createVNode, m as unref, fC as N8nMarkdown, c as useI18n, N as N8nHeading, l as createTextVNode, t as toDisplayString, p as N8nText, eQ as N8nLoading, V as VIEWS, ax as useTelemetry, bf as useExternalHooks, _ as _export_sfc } from "./index-7S5ADieN.js";
|
|
2
|
+
import { i as isFullTemplatesCollection, _ as __unplugin_components_6 } from "./TemplateDetails-DP_5pkzG.js";
|
|
3
|
+
import { T as TemplateList } from "./TemplateList-y8Aumcsb.js";
|
|
4
|
+
import { T as TemplatesView } from "./TemplatesView-4DUEEEtD.js";
|
|
5
|
+
import { u as useTemplateWorkflow } from "./templateActions-DJJfyIhq.js";
|
|
6
|
+
import "./Tags-DbmKHzWo.js";
|
|
6
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
8
|
__name: "TemplatesCollectionView",
|
|
8
9
|
setup(__props) {
|
|
@@ -86,10 +87,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
87
|
loading.value = false;
|
|
87
88
|
});
|
|
88
89
|
return (_ctx, _cache) => {
|
|
89
|
-
const _component_n8n_heading =
|
|
90
|
-
const _component_n8n_text =
|
|
91
|
-
const _component_n8n_loading =
|
|
92
|
-
const _component_n8n_markdown =
|
|
90
|
+
const _component_n8n_heading = N8nHeading;
|
|
91
|
+
const _component_n8n_text = N8nText;
|
|
92
|
+
const _component_n8n_loading = N8nLoading;
|
|
93
|
+
const _component_n8n_markdown = N8nMarkdown;
|
|
93
94
|
return openBlock(), createBlock(TemplatesView, { "go-back-enabled": true }, createSlots({
|
|
94
95
|
header: withCtx(() => [
|
|
95
96
|
!notFoundError.value ? (openBlock(), createElementBlock("div", {
|
|
@@ -153,8 +154,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
153
154
|
class: normalizeClass(_ctx.$style.markdown)
|
|
154
155
|
}, [
|
|
155
156
|
createVNode(_component_n8n_markdown, {
|
|
156
|
-
content: unref(isFullTemplatesCollection)(collection.value) && collection.value.description,
|
|
157
|
-
images: unref(isFullTemplatesCollection)(collection.value) && collection.value.image,
|
|
157
|
+
content: unref(isFullTemplatesCollection)(collection.value) && collection.value.description ? collection.value.description : "",
|
|
158
|
+
images: unref(isFullTemplatesCollection)(collection.value) && collection.value.image ? collection.value.image : void 0,
|
|
158
159
|
loading: loading.value
|
|
159
160
|
}, null, 8, ["content", "images", "loading"])
|
|
160
161
|
], 2)) : createCommentVNode("", true),
|
|
@@ -170,7 +171,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
170
171
|
createBaseVNode("div", {
|
|
171
172
|
class: normalizeClass(_ctx.$style.details)
|
|
172
173
|
}, [
|
|
173
|
-
createVNode(
|
|
174
|
+
createVNode(__unplugin_components_6, {
|
|
174
175
|
"block-title": unref(i18n).baseText("template.details.appsInTheCollection"),
|
|
175
176
|
loading: loading.value,
|
|
176
177
|
template: collection.value
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { N as NodeList, T as TemplateList } from "./TemplateList-
|
|
3
|
-
import { T as TemplatesView } from "./TemplatesView-
|
|
1
|
+
import { d as defineComponent, e as createBlock, g as openBlock, s as N8nCard, D as mergeProps, bh as createSlots, w as withCtx, k as createBaseVNode, t as toDisplayString, n as normalizeClass, J as renderSlot, j as createVNode, eQ as N8nLoading, _ as _export_sfc, O as normalizeStyle, aT as withDirectives, p as N8nText, l as createTextVNode, m as unref, c as useI18n, aU as vShow, fM as orderBy, fN as requireDebounce, fO as requireIsObject, bQ as getDefaultExportFromCjs, i as createElementBlock, f as createCommentVNode, F as Fragment, y as renderList, r as ref, a9 as watch, o as onMounted, K as nextTick, aS as onBeforeMount, h as resolveComponent, x as computed, R as useDebounce, a as useToast, ah as useDocumentTitle, v as useSettingsStore, bd as useTemplatesStore, u as useUsersStore, a4 as useRoute, b as useRouter, eB as onBeforeRouteLeave, ca as resolveDirective, dU as N8nInput, N as N8nHeading, q as N8nButton, fP as CREATOR_HUB_URL, V as VIEWS, ax as useTelemetry } from "./index-7S5ADieN.js";
|
|
2
|
+
import { N as NodeList, T as TemplateList } from "./TemplateList-y8Aumcsb.js";
|
|
3
|
+
import { T as TemplatesView } from "./TemplatesView-4DUEEEtD.js";
|
|
4
4
|
const _hoisted_1$3 = ["textContent"];
|
|
5
5
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "CollectionWorkflowCard",
|
|
@@ -10,8 +10,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
},
|
|
11
11
|
setup(__props) {
|
|
12
12
|
return (_ctx, _cache) => {
|
|
13
|
-
const _component_n8n_loading =
|
|
14
|
-
const _component_n8n_card =
|
|
13
|
+
const _component_n8n_loading = N8nLoading;
|
|
14
|
+
const _component_n8n_card = N8nCard;
|
|
15
15
|
return openBlock(), createBlock(_component_n8n_card, mergeProps({
|
|
16
16
|
class: _ctx.$style.card
|
|
17
17
|
}, _ctx.$attrs), createSlots({
|
|
@@ -66,7 +66,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
66
66
|
setup(__props) {
|
|
67
67
|
const i18n = useI18n();
|
|
68
68
|
return (_ctx, _cache) => {
|
|
69
|
-
const _component_n8n_text =
|
|
69
|
+
const _component_n8n_text = N8nText;
|
|
70
70
|
return openBlock(), createBlock(Card, {
|
|
71
71
|
loading: _ctx.loading,
|
|
72
72
|
title: _ctx.collection.name,
|
|
@@ -1050,9 +1050,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1050
1050
|
}
|
|
1051
1051
|
);
|
|
1052
1052
|
return (_ctx, _cache) => {
|
|
1053
|
-
const _component_n8n_loading =
|
|
1053
|
+
const _component_n8n_loading = N8nLoading;
|
|
1054
1054
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
1055
|
-
const _component_n8n_text =
|
|
1055
|
+
const _component_n8n_text = N8nText;
|
|
1056
1056
|
return openBlock(), createElementBlock("div", {
|
|
1057
1057
|
class: normalizeClass([_ctx.$style.filters, "template-filters"]),
|
|
1058
1058
|
"data-test-id": "templates-filter-container"
|
|
@@ -1383,6 +1383,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1383
1383
|
void loadWorkflowsAndCollections(true);
|
|
1384
1384
|
void usersStore.showPersonalizationSurvey();
|
|
1385
1385
|
restoreSearchFromRoute();
|
|
1386
|
+
if (settingsStore.isTemplatesEnabled) {
|
|
1387
|
+
settingsStore.testTemplatesEndpoint().catch(() => {
|
|
1388
|
+
});
|
|
1389
|
+
}
|
|
1386
1390
|
setTimeout(() => {
|
|
1387
1391
|
const scrollOffset = route.meta?.scrollOffset;
|
|
1388
1392
|
if (typeof scrollOffset === "number" && scrollOffset > 0) {
|
|
@@ -1404,11 +1408,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1404
1408
|
}
|
|
1405
1409
|
});
|
|
1406
1410
|
return (_ctx, _cache) => {
|
|
1407
|
-
const _component_n8n_heading =
|
|
1408
|
-
const _component_n8n_button =
|
|
1411
|
+
const _component_n8n_heading = N8nHeading;
|
|
1412
|
+
const _component_n8n_button = N8nButton;
|
|
1409
1413
|
const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
|
|
1410
|
-
const _component_n8n_input =
|
|
1411
|
-
const _component_n8n_text =
|
|
1414
|
+
const _component_n8n_input = N8nInput;
|
|
1415
|
+
const _component_n8n_text = N8nText;
|
|
1412
1416
|
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
1413
1417
|
return openBlock(), createBlock(TemplatesView, null, {
|
|
1414
1418
|
header: withCtx(() => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, V as VIEWS, _ as _export_sfc, f as createCommentVNode,
|
|
1
|
+
import { d as defineComponent, b as useRouter, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, V as VIEWS, _ as _export_sfc, f as createCommentVNode, J as renderSlot } from "./index-7S5ADieN.js";
|
|
2
2
|
const _hoisted_1 = ["textContent"];
|
|
3
3
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "GoBackButton",
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { u as useTemplateWorkflow } from "./templateActions-
|
|
5
|
-
import { T as TemplatesView } from "./TemplatesView-
|
|
1
|
+
import { _ as __unplugin_components_6 } from "./TemplateDetails-DP_5pkzG.js";
|
|
2
|
+
import { d as defineComponent, bd as useTemplatesStore, bN as useNodeTypesStore, a4 as useRoute, b as useRouter, ah as useDocumentTitle, r as ref, x as computed, a9 as watch, o as onMounted, e as createBlock, g as openBlock, bh as createSlots, w as withCtx, k as createBaseVNode, n as normalizeClass, f as createCommentVNode, j as createVNode, fC as N8nMarkdown, m as unref, c as useI18n, i as createElementBlock, N as N8nHeading, l as createTextVNode, t as toDisplayString, p as N8nText, eQ as N8nLoading, q as N8nButton, ax as useTelemetry, bf as useExternalHooks, _ as _export_sfc } from "./index-7S5ADieN.js";
|
|
3
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-D3YRZjYi.js";
|
|
4
|
+
import { u as useTemplateWorkflow } from "./templateActions-DJJfyIhq.js";
|
|
5
|
+
import { T as TemplatesView } from "./TemplatesView-4DUEEEtD.js";
|
|
6
|
+
import "./Tags-DbmKHzWo.js";
|
|
6
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
8
|
__name: "TemplatesWorkflowView",
|
|
8
9
|
setup(__props) {
|
|
@@ -68,13 +69,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
69
|
loading.value = false;
|
|
69
70
|
});
|
|
70
71
|
return (_ctx, _cache) => {
|
|
71
|
-
const _component_n8n_heading =
|
|
72
|
-
const _component_n8n_text =
|
|
73
|
-
const _component_n8n_loading =
|
|
74
|
-
const _component_n8n_button =
|
|
72
|
+
const _component_n8n_heading = N8nHeading;
|
|
73
|
+
const _component_n8n_text = N8nText;
|
|
74
|
+
const _component_n8n_loading = N8nLoading;
|
|
75
|
+
const _component_n8n_button = N8nButton;
|
|
75
76
|
const _component_WorkflowPreview = WorkflowPreview;
|
|
76
|
-
const _component_n8n_markdown =
|
|
77
|
-
const _component_TemplateDetails =
|
|
77
|
+
const _component_n8n_markdown = N8nMarkdown;
|
|
78
|
+
const _component_TemplateDetails = __unplugin_components_6;
|
|
78
79
|
return openBlock(), createBlock(TemplatesView, { "go-back-enabled": true }, createSlots({
|
|
79
80
|
header: withCtx(() => [
|
|
80
81
|
!notFoundError.value ? (openBlock(), createElementBlock("div", {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { R as ResourcesListLayout } from "./ResourcesListLayout-
|
|
3
|
-
import { p as pickBy } from "./pickBy-
|
|
4
|
-
import "./
|
|
1
|
+
import { d as defineComponent, c8 as useClipboard, a as useToast, x as computed, e as createBlock, g as openBlock, m as unref, Z as N8nTooltip, w as withCtx, k as createBaseVNode, t as toDisplayString, l as createTextVNode, c as useI18n, _ as _export_sfc, ep as reactive, bC as toRaw, r as ref, i as createElementBlock, j as createVNode, fQ as N8nFormInput, f as createCommentVNode, q as N8nButton, v as useSettingsStore, eq as useEnvironmentsStore, u as useUsersStore, S as useUIStore, ad as useSourceControlStore, a4 as useRoute, b as useRouter, aq as useTemplateRef, al as getResourcePermissions, fR as useAsyncState, ao as EnterpriseEditionFeature, ak as usePageRedirectionHelper, o as onMounted, ah as useDocumentTitle, bh as createSlots, f2 as N8nActionBox, D as mergeProps, c0 as normalizeProps, F as Fragment, au as N8nBadge, fb as N8nInputLabel, fS as N8nCheckbox, N as N8nHeading, fT as uid, ax as useTelemetry, az as useMessage, aA as MODAL_CONFIRM } from "./index-7S5ADieN.js";
|
|
2
|
+
import { R as ResourcesListLayout } from "./ResourcesListLayout-BVbjqFbc.js";
|
|
3
|
+
import { p as pickBy } from "./pickBy-DPxZbMic.js";
|
|
4
|
+
import "./TableBase-DruQl-SO.js";
|
|
5
|
+
import "./useProjectPages-DgMGWOaO.js";
|
|
5
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "VariablesUsageBadge",
|
|
7
8
|
props: {
|
|
@@ -348,7 +349,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
348
349
|
useDocumentTitle().set(i18n.baseText("variables.heading"));
|
|
349
350
|
});
|
|
350
351
|
return (_ctx, _cache) => {
|
|
351
|
-
const _component_n8n_heading =
|
|
352
|
+
const _component_n8n_heading = N8nHeading;
|
|
352
353
|
return openBlock(), createBlock(ResourcesListLayout, {
|
|
353
354
|
ref_key: "layoutRef",
|
|
354
355
|
ref: layoutRef,
|
|
@@ -534,7 +535,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
534
535
|
};
|
|
535
536
|
}
|
|
536
537
|
});
|
|
537
|
-
const VariablesView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
538
|
+
const VariablesView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-00e4f3ac"]]);
|
|
538
539
|
export {
|
|
539
540
|
VariablesView as default
|
|
540
541
|
};
|
|
@@ -377,21 +377,24 @@
|
|
|
377
377
|
-------------------------- */
|
|
378
378
|
/* BEM
|
|
379
379
|
-------------------------- */
|
|
380
|
-
.action-buttons[data-v-
|
|
380
|
+
.action-buttons[data-v-00e4f3ac] {
|
|
381
381
|
opacity: 0;
|
|
382
382
|
transition: opacity 0.2s ease;
|
|
383
383
|
}
|
|
384
|
-
[data-v-
|
|
384
|
+
[data-v-00e4f3ac] .datatable {
|
|
385
385
|
white-space: nowrap;
|
|
386
386
|
}
|
|
387
|
-
[data-v-
|
|
387
|
+
[data-v-00e4f3ac] .datatable table tr:hover .action-buttons {
|
|
388
388
|
opacity: 1;
|
|
389
389
|
}
|
|
390
|
+
[data-v-00e4f3ac] .datatable table tr td:nth-child(2) {
|
|
391
|
+
white-space: normal;
|
|
392
|
+
}
|
|
390
393
|
@media screen and (max-width: 992px) {
|
|
391
|
-
[data-v-
|
|
394
|
+
[data-v-00e4f3ac] .datatable table tr th:nth-child(3),[data-v-00e4f3ac] .datatable table tr td:nth-child(3) {
|
|
392
395
|
display: none;
|
|
393
396
|
}
|
|
394
397
|
}
|
|
395
|
-
[data-v-
|
|
398
|
+
[data-v-00e4f3ac] .datatable .variables-actions-column {
|
|
396
399
|
width: 170px;
|
|
397
400
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _sfc_main$
|
|
2
|
-
import {
|
|
3
|
-
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-
|
|
4
|
-
import { C as Chart } from "./index-
|
|
5
|
-
import "./global-link-actions-
|
|
1
|
+
import { d as defineComponent, r as ref, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, j as createVNode, aW as N8nIcon, p as N8nText, w as withCtx, J as renderSlot, _ as _export_sfc, e as createBlock, F as Fragment, y as renderList, t as toDisplayString, l as createTextVNode, m as unref, c as useI18n, c8 as useClipboard, a as useToast, x as computed, b8 as sortByProperty, o as onMounted, I as onBeforeUnmount, s as N8nCard, N as N8nHeading, b as useRouter, ah as useDocumentTitle, ab as useRootStore, a2 as usePushConnectionStore, ax as useTelemetry, aS as onBeforeMount, eP as _sfc_main$8, v as useSettingsStore, ak as usePageRedirectionHelper, f2 as N8nActionBox } from "./index-7S5ADieN.js";
|
|
2
|
+
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-cnANEo9o.js";
|
|
3
|
+
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-D8SE-itT.js";
|
|
4
|
+
import { C as Chart } from "./index-uJOu4Uio.js";
|
|
5
|
+
import "./global-link-actions-olwfH36z.js";
|
|
6
6
|
function averageWorkerLoadFromLoads(loads) {
|
|
7
7
|
return loads.reduce((prev, curr) => prev + curr, 0) / loads.length;
|
|
8
8
|
}
|
|
@@ -16,7 +16,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
__name: "WorkerAccordion.ee",
|
|
17
17
|
props: {
|
|
18
18
|
icon: { default: "tasks" },
|
|
19
|
-
iconColor: { default: "
|
|
19
|
+
iconColor: { default: "text-dark" },
|
|
20
20
|
initialExpanded: { type: Boolean, default: true }
|
|
21
21
|
},
|
|
22
22
|
setup(__props) {
|
|
@@ -26,8 +26,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
expanded2.value = !expanded2.value;
|
|
27
27
|
}
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
|
-
const _component_n8n_icon =
|
|
30
|
-
const _component_n8n_text =
|
|
29
|
+
const _component_n8n_icon = N8nIcon;
|
|
30
|
+
const _component_n8n_text = N8nText;
|
|
31
31
|
return openBlock(), createElementBlock("div", {
|
|
32
32
|
class: normalizeClass(["accordion", _ctx.$style.container])
|
|
33
33
|
}, [
|
|
@@ -103,10 +103,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
103
103
|
return `${hrs}h ${mnts}m ${Math.floor(seconds)}s`;
|
|
104
104
|
}
|
|
105
105
|
return (_ctx, _cache) => {
|
|
106
|
-
const _component_n8n_text =
|
|
106
|
+
const _component_n8n_text = N8nText;
|
|
107
107
|
return openBlock(), createBlock(WorkerAccordion, {
|
|
108
108
|
icon: "tasks",
|
|
109
|
-
"icon-color": "
|
|
109
|
+
"icon-color": "text-dark",
|
|
110
110
|
"initial-expanded": true
|
|
111
111
|
}, {
|
|
112
112
|
title: withCtx(() => [
|
|
@@ -191,7 +191,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
191
191
|
return (_ctx, _cache) => {
|
|
192
192
|
return openBlock(), createBlock(WorkerAccordion, {
|
|
193
193
|
icon: "tasks",
|
|
194
|
-
"icon-color": "
|
|
194
|
+
"icon-color": "text-dark",
|
|
195
195
|
"initial-expanded": false
|
|
196
196
|
}, {
|
|
197
197
|
title: withCtx(() => [
|
|
@@ -318,7 +318,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
318
318
|
return (_ctx, _cache) => {
|
|
319
319
|
return openBlock(), createBlock(WorkerAccordion, {
|
|
320
320
|
icon: "tasks",
|
|
321
|
-
"icon-color": "
|
|
321
|
+
"icon-color": "text-dark",
|
|
322
322
|
"initial-expanded": false
|
|
323
323
|
}, {
|
|
324
324
|
title: withCtx(() => [
|
|
@@ -415,9 +415,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
415
415
|
clearInterval(interval);
|
|
416
416
|
});
|
|
417
417
|
return (_ctx, _cache) => {
|
|
418
|
-
const _component_n8n_heading =
|
|
419
|
-
const _component_n8n_text =
|
|
420
|
-
const _component_n8n_card =
|
|
418
|
+
const _component_n8n_heading = N8nHeading;
|
|
419
|
+
const _component_n8n_text = N8nText;
|
|
420
|
+
const _component_n8n_card = N8nCard;
|
|
421
421
|
return worker.value ? (openBlock(), createBlock(_component_n8n_card, {
|
|
422
422
|
key: 0,
|
|
423
423
|
class: normalizeClass(_ctx.$style.cardLink)
|
|
@@ -534,8 +534,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
534
534
|
});
|
|
535
535
|
return (_ctx, _cache) => {
|
|
536
536
|
const _component_PushConnectionTracker = _sfc_main$7;
|
|
537
|
-
const _component_n8n_heading =
|
|
538
|
-
const _component_n8n_spinner =
|
|
537
|
+
const _component_n8n_heading = N8nHeading;
|
|
538
|
+
const _component_n8n_spinner = _sfc_main$8;
|
|
539
539
|
return openBlock(), createElementBlock("div", null, [
|
|
540
540
|
createVNode(_component_PushConnectionTracker, { class: "actions" }),
|
|
541
541
|
createBaseVNode("div", {
|
|
@@ -595,7 +595,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
595
595
|
void pageRedirectionHelper.goToUpgrade("worker-view", "upgrade-worker-view");
|
|
596
596
|
};
|
|
597
597
|
return (_ctx, _cache) => {
|
|
598
|
-
const _component_n8n_action_box =
|
|
598
|
+
const _component_n8n_action_box = N8nActionBox;
|
|
599
599
|
return unref(settingsStore).isQueueModeEnabled && unref(settingsStore).isWorkerViewAvailable ? (openBlock(), createBlock(WorkerList, {
|
|
600
600
|
key: 0,
|
|
601
601
|
"data-test-id": "worker-view-licensed"
|