n8n-editor-ui 1.109.2 → 1.110.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/{AddDataStoreModal-uXL5uFdf.js → AddDataStoreModal-BXMe2_Yo.js} +2 -2
- package/dist/assets/{AnimatedSpinner-Boagztc5.js → AnimatedSpinner-CxbOZIWM.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-Dwq22y10.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-D-tU5Nsg.js} +1 -1
- package/dist/assets/{AuthView-CQFbJe0h.js → AuthView-ty01eojq.js} +2 -2
- package/dist/assets/{ChangePasswordView-CBkVzb39.js → ChangePasswordView-nmwMP1GF.js} +3 -3
- package/dist/assets/CollectionParameter-CQji5w8u.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DfVZTSuh.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-CSmXlf80.js} +1 -1
- package/dist/assets/{CredentialsView-CCg2_s6G.js → CredentialsView-IHneFweR.js} +9 -8
- package/dist/assets/{DataStoreActions.vue_vue_type_script_setup_true_lang-DLTdZ7Ze.js → DataStoreActions.vue_vue_type_script_setup_true_lang-Dug6Q9SH.js} +2 -2
- package/dist/assets/{DataStoreDetailsView-BzaPADj6.js → DataStoreDetailsView-BZ7cLl6L.js} +1574 -227
- package/dist/assets/{DataStoreDetailsView-BxDmY87S.css → DataStoreDetailsView-DSpK3R_L.css} +294 -71
- package/dist/assets/{DataStoreView-pwOfUlSA.js → DataStoreView-CzuM5UmJ.js} +26 -39
- package/dist/assets/{DataStoreView-bZrewhaR.css → DataStoreView-D0R0E_jH.css} +9 -10
- package/dist/assets/{DemoFooter-BGbvJOnc.js → DemoFooter-CTFaju55.js} +6 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-CHWBnByP.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-DirQeoxa.js} +1 -1
- package/dist/assets/{EntityNotFound-usJAYj1D.js → EntityNotFound-SgHEB5Zx.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-yPCryEik.js → EntityUnAuthorised-Ba1UjrRW.js} +1 -1
- package/dist/assets/{ErrorView-C27mVZu1.js → ErrorView-DR_boVdR.js} +1 -1
- package/dist/assets/{EvaluationsRootView-BwLSDGVp.js → EvaluationsRootView-DutxuCnH.js} +1 -1
- package/dist/assets/{EvaluationsView-Z8XLaPWl.js → EvaluationsView-ClUUTcAC.js} +3 -3
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-Ke2qqrxm.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-_0D6TWFX.js} +2 -2
- package/dist/assets/{ExecutionsView-BHBePl1_.css → ExecutionsView-DpVZbkhT.css} +5 -22
- package/dist/assets/{ExecutionsView-COI1S8Yf.js → ExecutionsView-gF8JMKIq.js} +19 -37
- package/dist/assets/{FixedCollectionParameter-B_SGODND.js → FixedCollectionParameter-D9zye2vX.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DAd6lpBF.js → ForgotMyPasswordView-EkWEVktJ.js} +3 -3
- package/dist/assets/{InfoAccordion-BHvbx6nt.js → InfoAccordion-u7XlbH6a.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-L1tp64l4.js → InsightsChartAverageRuntime-CoBgniUR.js} +4 -4
- package/dist/assets/{InsightsChartFailed-DDz6H6Hb.js → InsightsChartFailed-Dn6SuM16.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-CYIxGqMo.js → InsightsChartFailureRate-CJl1j0ob.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-BnXbon7j.js → InsightsChartTimeSaved-B5DjojXI.js} +4 -4
- package/dist/assets/{InsightsChartTotal-SpC19AWs.js → InsightsChartTotal-T1SFp7S-.js} +4 -4
- package/dist/assets/{InsightsDashboard-BFYQJXlU.js → InsightsDashboard-CCDahAm5.js} +10 -10
- package/dist/assets/{InsightsPaywall-D70_tWkc.js → InsightsPaywall-Cp82bMTp.js} +1 -1
- package/dist/assets/{InsightsSummary-Bypgyn1_.js → InsightsSummary-I5vKNG0I.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-B8PrM_XF.js → InsightsTableWorkflows-D1U89HJ4.js} +4 -4
- package/dist/assets/{Logo-NH0xUQnC.js → Logo-DHG_oEvt.js} +1 -1
- package/dist/assets/{LogsPanel-ICU1Y6Hy.js → LogsPanel-CvmnM4bL.js} +32 -20
- package/dist/assets/{MainHeader-BgYgvS2s.js → MainHeader-CTxGLJsC.js} +19 -14
- package/dist/assets/{MainHeader-BofAi8wS.css → MainHeader-pDg5KXTB.css} +16 -16
- package/dist/assets/{MainSidebar-8V8yR1hZ.js → MainSidebar-D_xwIVsL.js} +25 -14
- package/dist/assets/{MainSidebar-D74VZmM5.css → MainSidebar-a73tcV9E.css} +2 -2
- package/dist/assets/{NodeCreation-CxN6JIS_.css → NodeCreation-C4gQlPqI.css} +6 -3
- package/dist/assets/{NodeCreation-BOXv2AR2.js → NodeCreation-iNUuiza-.js} +21 -12
- package/dist/assets/NodeCreator-COTYfPaK.css +1637 -0
- package/dist/assets/{NodeCreator-CbADkgNL.js → NodeCreator-DMpMHPcz.js} +28 -1227
- package/dist/assets/{NodeDetailsView-_1v8ors-.js → NodeDetailsView-BKEGFeZ7.js} +18 -16
- package/dist/assets/{NodeDetailsViewV2-BCBKcayW.js → NodeDetailsViewV2-XPdbzrLu.js} +19 -16
- package/dist/assets/{NodeView-CiaJbQtZ.css → NodeView-BRa11kAq.css} +177 -50
- package/dist/assets/{NodeView-75dKKlK2.js → NodeView-Bj14aKtm.js} +270 -147
- package/dist/assets/PageViewLayout--7SkYsc9.js +27 -0
- package/dist/assets/PageViewLayout-CJlzbuVj.css +141 -0
- package/dist/assets/PrebuiltAgentTemplatesView-B7fK6krA.js +196 -0
- package/dist/assets/PrebuiltAgentTemplatesView-COxu7Iih.css +166 -0
- package/dist/assets/{ProjectBreadcrumb-CcYMzyYS.js → ProjectBreadcrumb-BxMwihEP.js} +1 -1
- package/dist/assets/{ProjectHeader-BGjOBBZs.js → ProjectHeader-CVfPUZNI.js} +39 -5
- package/dist/assets/{ProjectSettings-D8_RWwH6.js → ProjectSettings-t9C-Ly49.js} +10 -10
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CX6d3I0M.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-zVio8c2n.js} +1 -1
- package/dist/assets/{ResourcesListLayout-C1JgyGhX.css → ResourcesListLayout-B5eMf4SI.css} +27 -164
- package/dist/assets/{ResourcesListLayout-CHxMfd0o.js → ResourcesListLayout-O-Z59wTE.js} +25 -45
- package/dist/assets/{RunDataJson-C3t3ZjPB.js → RunDataJson-0J6_FxmM.js} +5 -3
- package/dist/assets/{RunDataJsonActions-B7XqfLFu.js → RunDataJsonActions-ZbUSwg32.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-C9jVQbY-.js → RunDataParsedAiContent-Byf4f3hM.js} +2 -2
- package/dist/assets/{RunDataSearch-BOte45cu.js → RunDataSearch-CyCbN9Nc.js} +1 -1
- package/dist/assets/{RunDataTable-n918b-Qv.css → RunDataTable-BZzteeuj.css} +54 -53
- package/dist/assets/{RunDataTable-hdfF2k3k.js → RunDataTable-Rj0zhULj.js} +34 -32
- package/dist/assets/{SamlOnboarding-Ba_I74m9.js → SamlOnboarding-UDfF4zGH.js} +3 -3
- package/dist/assets/SelectedItemsInfo-64VntNmH.js +60 -0
- package/dist/assets/SelectedItemsInfo-CfUb0ZrI.css +139 -0
- package/dist/assets/{SettingsApiView-DkWdzJZU.js → SettingsApiView-BMYiuOCY.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-DHJIRIQE.js → SettingsCommunityNodesView-BULfnkhp.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-L_l-1Oj-.js → SettingsExternalSecrets-DgYPNKtM.js} +1 -1
- package/dist/assets/{SettingsLdapView-BPUQw21m.js → SettingsLdapView-B64PusRO.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-CXFUdTy7.js → SettingsLogStreamingView-DiDxOEmg.js} +1 -1
- package/dist/assets/{SettingsPersonalView-CkOwN5kp.js → SettingsPersonalView-TP__Drcl.js} +1 -1
- package/dist/assets/{SettingsSourceControl-Chxs8lyZ.js → SettingsSourceControl-FiqxT6qx.js} +1 -1
- package/dist/assets/{SettingsSso-CzgNGbQk.js → SettingsSso-e5ntwax1.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-CpAkwOo_.js → SettingsUsageAndPlan-BiNhzaI3.js} +1 -1
- package/dist/assets/{SettingsUsersView-C-W3bAek.js → SettingsUsersView-g3odVDFj.js} +1 -1
- package/dist/assets/{SettingsView-CN8rNrUi.js → SettingsView-5M3uETdg.js} +1 -1
- package/dist/assets/{SetupView-DTCdkpy-.js → SetupView-DOX9lfRU.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-pgSHNct2.js → SetupWorkflowCredentialsButton-DMIEMB5C.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-C5u6X-e-.js → SetupWorkflowFromTemplateView-DEJsN9PM.js} +3 -3
- package/dist/assets/{SigninView-XbODXHI6.js → SigninView-FKXG_00n.js} +26 -9
- package/dist/assets/{SignoutView-3SLJrRw6.js → SignoutView-ppJ6lbCU.js} +1 -1
- package/dist/assets/{SignupView-B88aZsHB.js → SignupView-CmcH1BYL.js} +3 -3
- package/dist/assets/{TableBase-DmNxoh-V.js → TableBase-DBeBHkOY.js} +1 -1
- package/dist/assets/{Tag-ZyDcgFEj.js → Tag-BQAJRKFE.js} +1 -1
- package/dist/assets/{Tags-DxSdhB5Q.js → Tags-CdXa3Xx9.js} +2 -2
- package/dist/assets/{TemplateDetails-CFhSg1pL.js → TemplateDetails-BxvljQA3.js} +2 -2
- package/dist/assets/{TemplateList-DgekHTSl.js → TemplateList-CV9csLUI.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-p1JacG9j.js → TemplatesCollectionView-4dKgKAQR.js} +7 -7
- package/dist/assets/{TemplatesSearchView-DkEwSWgX.js → TemplatesSearchView-taSkU7cY.js} +3 -3
- package/dist/assets/{TemplatesView-kwADW1e_.js → TemplatesView-CXSlz1M1.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BVzxbwUl.js → TemplatesWorkflowView-C-x3Aov1.js} +7 -7
- package/dist/assets/{TriggerPanel-DT2Pi3Ln.js → TriggerPanel-C-c5cPsc.js} +7 -7
- package/dist/assets/{TriggerPanel-BFPMKijE.css → TriggerPanel-DiD8pi0I.css} +4 -4
- package/dist/assets/{VariablesView-Ad8vS5nb.js → VariablesView-C3mX49G9.js} +6 -5
- package/dist/assets/{WorkerView-CbfVnz4y.js → WorkerView-DYK4TcTw.js} +6 -6
- package/dist/assets/{WorkflowActivator-BxX80zGr.js → WorkflowActivator-DZIgVvgL.js} +3 -3
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BZHHQFcf.js → WorkflowExecutionsInfoAccordion-CivRIQhL.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-zeaUSp7T.js → WorkflowExecutionsLandingPage-kBAMGqy2.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-CPQUCKk6.js → WorkflowExecutionsPreview-Bnd5-B-d.js} +4 -4
- package/dist/assets/{WorkflowExecutionsView-B7x5IRu_.js → WorkflowExecutionsView-CIfisPDk.js} +7 -7
- package/dist/assets/{WorkflowHistory-DoFfKRnt.js → WorkflowHistory-JXOUdJnK.js} +2 -2
- package/dist/assets/{WorkflowOnboardingView-D8gjC-Ng.js → WorkflowOnboardingView-Dc1KYhGC.js} +1 -1
- package/dist/assets/{WorkflowPreview-BZs8Di_n.js → WorkflowPreview-BF9SI0vn.js} +1 -1
- package/dist/assets/{WorkflowsView-QnB5kP-h.js → WorkflowsView-CTnvp65F.js} +113 -30
- package/dist/assets/{canvas-X-1icOh2.js → canvas-DbK7UyVG.js} +1 -1
- package/dist/assets/{chartjs.utils-DvIjPJm3.js → chartjs.utils-DIRvJRrn.js} +2 -2
- package/dist/assets/{core-CZWe7osv.js → core-Br-UFy15.js} +1 -1
- package/dist/assets/{dataStore.store-XMarLJy8.js → dataStore.store-HuymAG46.js} +49 -29
- package/dist/assets/{en-CLskxc5n.js → en-DdNgUrpa.js} +25 -8
- package/dist/assets/{global-link-actions-C5l8bN84.js → global-link-actions--TiC75iP.js} +1 -1
- package/dist/assets/{index-CeNA_ukL.js → index--OJ5nhDf.js} +16541 -14421
- package/dist/assets/{index-CaZY86md.js → index-D2apwRup.js} +1 -1
- package/dist/assets/{index-Am8RmnT4.css → index-DXNU_2Fk.css} +3613 -1439
- package/dist/assets/{pickBy-DpEqvEPR.js → pickBy-BljOBsPy.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-DGBtTmGX.js → readyToRunWorkflows.store-Dhb8bhvk.js} +1 -1
- package/dist/assets/{templateActions-D45UELiN.js → templateActions-B4GEcBXU.js} +1 -1
- package/dist/assets/{useBeforeUnload-DGets1eb.js → useBeforeUnload-ZtUpNFCu.js} +1 -1
- package/dist/assets/{useExecutionDebugging-DDy8bilm.js → useExecutionDebugging-Bve-aaKO.js} +12 -8
- package/dist/assets/{useImportCurlCommand-Dl6INy3z.js → useImportCurlCommand-CAuor9Pu.js} +1 -1
- package/dist/assets/{useProjectPages-xv6Eq2Y5.js → useProjectPages-CH519D2j.js} +1 -1
- package/dist/assets/{usePushConnection-Brn1MCOr.js → usePushConnection-Db77V5LR.js} +8 -3
- package/dist/assets/{useWorkflowActivate-CuNKq-WZ.js → useWorkflowActivate-7Rw9KyzM.js} +1 -1
- package/dist/index.html +2 -2
- package/eslint.config.mjs +1 -0
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-BluoaZU_.js +0 -4
- package/dist/assets/NodeCreator-vQ-Sfr_5.css +0 -3568
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { _ as _export_sfc, h as createElementBlock, g as openBlock, X as renderSlot, j as createBaseVNode, n as normalizeClass } from "./index--OJ5nhDf.js";
|
|
2
|
+
const wrapper = "_wrapper_1x8n3_123";
|
|
3
|
+
const content = "_content_1x8n3_139";
|
|
4
|
+
const style0 = {
|
|
5
|
+
wrapper,
|
|
6
|
+
content
|
|
7
|
+
};
|
|
8
|
+
const _sfc_main = {};
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("div", {
|
|
11
|
+
class: normalizeClass(_ctx.$style.wrapper)
|
|
12
|
+
}, [
|
|
13
|
+
renderSlot(_ctx.$slots, "header"),
|
|
14
|
+
createBaseVNode("main", {
|
|
15
|
+
class: normalizeClass(_ctx.$style.content)
|
|
16
|
+
}, [
|
|
17
|
+
renderSlot(_ctx.$slots, "default")
|
|
18
|
+
], 2)
|
|
19
|
+
], 2);
|
|
20
|
+
}
|
|
21
|
+
const cssModules = {
|
|
22
|
+
"$style": style0
|
|
23
|
+
};
|
|
24
|
+
const __unplugin_components_5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__cssModules", cssModules]]);
|
|
25
|
+
export {
|
|
26
|
+
__unplugin_components_5 as _
|
|
27
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/* BEM support Func
|
|
2
|
+
-------------------------- */
|
|
3
|
+
/* Transition
|
|
4
|
+
-------------------------- */
|
|
5
|
+
/* Color
|
|
6
|
+
-------------------------- */
|
|
7
|
+
/* Link
|
|
8
|
+
-------------------------- */
|
|
9
|
+
/* Border
|
|
10
|
+
-------------------------- */
|
|
11
|
+
/* Outline
|
|
12
|
+
-------------------------- */
|
|
13
|
+
/* Box shadow
|
|
14
|
+
-------------------------- */
|
|
15
|
+
/* Fill
|
|
16
|
+
-------------------------- */
|
|
17
|
+
/* Typography
|
|
18
|
+
-------------------------- */
|
|
19
|
+
/* z-index
|
|
20
|
+
-------------------------- */
|
|
21
|
+
/* Disable base
|
|
22
|
+
-------------------------- */
|
|
23
|
+
/* Icon
|
|
24
|
+
-------------------------- */
|
|
25
|
+
/* Checkbox
|
|
26
|
+
-------------------------- */
|
|
27
|
+
/* Radio
|
|
28
|
+
-------------------------- */
|
|
29
|
+
/* Select
|
|
30
|
+
-------------------------- */
|
|
31
|
+
/* Alert
|
|
32
|
+
-------------------------- */
|
|
33
|
+
/* MessageBox
|
|
34
|
+
-------------------------- */
|
|
35
|
+
/* Message
|
|
36
|
+
-------------------------- */
|
|
37
|
+
/* Notification
|
|
38
|
+
-------------------------- */
|
|
39
|
+
/* Input
|
|
40
|
+
-------------------------- */
|
|
41
|
+
/* Cascader
|
|
42
|
+
-------------------------- */
|
|
43
|
+
/* Group
|
|
44
|
+
-------------------------- */
|
|
45
|
+
/* Tab
|
|
46
|
+
-------------------------- */
|
|
47
|
+
/* Button
|
|
48
|
+
-------------------------- */
|
|
49
|
+
/* cascader
|
|
50
|
+
-------------------------- */
|
|
51
|
+
/* Switch
|
|
52
|
+
-------------------------- */
|
|
53
|
+
/* Dialog
|
|
54
|
+
-------------------------- */
|
|
55
|
+
/* Table
|
|
56
|
+
-------------------------- */
|
|
57
|
+
/* Pagination
|
|
58
|
+
-------------------------- */
|
|
59
|
+
/* Popup
|
|
60
|
+
-------------------------- */
|
|
61
|
+
/* Popover
|
|
62
|
+
-------------------------- */
|
|
63
|
+
/* Tooltip
|
|
64
|
+
-------------------------- */
|
|
65
|
+
/* Tag
|
|
66
|
+
-------------------------- */
|
|
67
|
+
/* Tree
|
|
68
|
+
-------------------------- */
|
|
69
|
+
/* Dropdown
|
|
70
|
+
-------------------------- */
|
|
71
|
+
/* Badge
|
|
72
|
+
-------------------------- */
|
|
73
|
+
/* Card
|
|
74
|
+
--------------------------*/
|
|
75
|
+
/* Slider
|
|
76
|
+
--------------------------*/
|
|
77
|
+
/* Steps
|
|
78
|
+
--------------------------*/
|
|
79
|
+
/* Menu
|
|
80
|
+
--------------------------*/
|
|
81
|
+
/* Rate
|
|
82
|
+
--------------------------*/
|
|
83
|
+
/* DatePicker
|
|
84
|
+
--------------------------*/
|
|
85
|
+
/* Loading
|
|
86
|
+
--------------------------*/
|
|
87
|
+
/* Scrollbar
|
|
88
|
+
--------------------------*/
|
|
89
|
+
/* Carousel
|
|
90
|
+
--------------------------*/
|
|
91
|
+
/* Collapse
|
|
92
|
+
--------------------------*/
|
|
93
|
+
/* Transfer
|
|
94
|
+
--------------------------*/
|
|
95
|
+
/* Header
|
|
96
|
+
--------------------------*/
|
|
97
|
+
/* Footer
|
|
98
|
+
--------------------------*/
|
|
99
|
+
/* Main
|
|
100
|
+
--------------------------*/
|
|
101
|
+
/* Timeline
|
|
102
|
+
--------------------------*/
|
|
103
|
+
/* Backtop
|
|
104
|
+
--------------------------*/
|
|
105
|
+
/* Link
|
|
106
|
+
--------------------------*/
|
|
107
|
+
/* Calendar
|
|
108
|
+
--------------------------*/
|
|
109
|
+
/* Form
|
|
110
|
+
-------------------------- */
|
|
111
|
+
/* Avatar
|
|
112
|
+
--------------------------*/
|
|
113
|
+
/* Break-point
|
|
114
|
+
--------------------------*/
|
|
115
|
+
/* Break-points
|
|
116
|
+
-------------------------- */
|
|
117
|
+
/* Scrollbar
|
|
118
|
+
-------------------------- */
|
|
119
|
+
/* Placeholder
|
|
120
|
+
-------------------------- */
|
|
121
|
+
/* BEM
|
|
122
|
+
-------------------------- */
|
|
123
|
+
._wrapper_1x8n3_123 {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
height: 100%;
|
|
127
|
+
width: 100%;
|
|
128
|
+
max-width: var(--content-container-width);
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
align-content: start;
|
|
131
|
+
padding: var(--spacing-l) var(--spacing-2xl) 0;
|
|
132
|
+
}
|
|
133
|
+
@media screen and (max-width: 991px) {
|
|
134
|
+
._wrapper_1x8n3_123 {
|
|
135
|
+
padding: var(--spacing-s) var(--spacing-s) 0;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
._content_1x8n3_139 {
|
|
139
|
+
display: grid;
|
|
140
|
+
height: 100%;
|
|
141
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { _ as __unplugin_components_5 } from "./PageViewLayout--7SkYsc9.js";
|
|
2
|
+
import { d as defineComponent, ad as useNodeTypesStore, bm as useCalloutHelpers, x as computed, o as onMounted, e as createBlock, g as openBlock, w as withCtx, j as createBaseVNode, n as normalizeClass, i as createVNode, m as N8nHeading, k as createTextVNode, t as toDisplayString, l as unref, c as useI18n, C as N8nLink, V as VIEWS, h as createElementBlock, F as Fragment, A as renderList, s as N8nCard, g4 as NodeCreatorNode, br as createSlots, bX as NodeIcon, _ as _export_sfc } from "./index--OJ5nhDf.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "PrebuiltAgentTemplatesView",
|
|
5
|
+
setup(__props) {
|
|
6
|
+
const nodeTypesStore = useNodeTypesStore();
|
|
7
|
+
const i18n = useI18n();
|
|
8
|
+
const calloutHelpers = useCalloutHelpers();
|
|
9
|
+
const preBuiltAgents = computed(
|
|
10
|
+
() => calloutHelpers.getPreBuiltAgentNodeCreatorItems()
|
|
11
|
+
);
|
|
12
|
+
const tutorials2 = computed(
|
|
13
|
+
() => calloutHelpers.getTutorialTemplatesNodeCreatorItems()
|
|
14
|
+
);
|
|
15
|
+
const openTemplate = (templateId) => {
|
|
16
|
+
calloutHelpers.openSampleWorkflowTemplate(templateId, {
|
|
17
|
+
telemetry: {
|
|
18
|
+
source: "templates"
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
onMounted(async () => {
|
|
23
|
+
await nodeTypesStore.loadNodeTypesIfNotLoaded();
|
|
24
|
+
});
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
const _component_N8nHeading = N8nHeading;
|
|
27
|
+
const _component_N8nLink = N8nLink;
|
|
28
|
+
const _component_NodeIcon = NodeIcon;
|
|
29
|
+
const _component_N8nNodeCreatorNode = NodeCreatorNode;
|
|
30
|
+
const _component_N8nCard = N8nCard;
|
|
31
|
+
const _component_PageViewLayout = __unplugin_components_5;
|
|
32
|
+
return openBlock(), createBlock(_component_PageViewLayout, null, {
|
|
33
|
+
default: withCtx(() => [
|
|
34
|
+
createBaseVNode("div", {
|
|
35
|
+
class: normalizeClass(_ctx.$style.content)
|
|
36
|
+
}, [
|
|
37
|
+
createBaseVNode("section", {
|
|
38
|
+
class: normalizeClass(_ctx.$style.section)
|
|
39
|
+
}, [
|
|
40
|
+
createBaseVNode("div", {
|
|
41
|
+
class: normalizeClass(_ctx.$style.header)
|
|
42
|
+
}, [
|
|
43
|
+
createVNode(_component_N8nHeading, {
|
|
44
|
+
tag: "h2",
|
|
45
|
+
bold: "",
|
|
46
|
+
size: "xlarge"
|
|
47
|
+
}, {
|
|
48
|
+
default: withCtx(() => [
|
|
49
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("preBuiltAgentTemplates.title")), 1)
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
}),
|
|
53
|
+
createVNode(_component_N8nLink, {
|
|
54
|
+
to: { name: unref(VIEWS).TEMPLATES },
|
|
55
|
+
underline: "",
|
|
56
|
+
bold: ""
|
|
57
|
+
}, {
|
|
58
|
+
default: withCtx(() => [
|
|
59
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("preBuiltAgentTemplates.viewAllLink")), 1)
|
|
60
|
+
]),
|
|
61
|
+
_: 1
|
|
62
|
+
}, 8, ["to"])
|
|
63
|
+
], 2),
|
|
64
|
+
createBaseVNode("div", {
|
|
65
|
+
class: normalizeClass(_ctx.$style.grid)
|
|
66
|
+
}, [
|
|
67
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(preBuiltAgents.value, (template) => {
|
|
68
|
+
return openBlock(), createBlock(_component_N8nCard, {
|
|
69
|
+
key: template.key,
|
|
70
|
+
class: normalizeClass(_ctx.$style.card),
|
|
71
|
+
onClick: ($event) => openTemplate(template.properties.templateId)
|
|
72
|
+
}, {
|
|
73
|
+
default: withCtx(() => [
|
|
74
|
+
createVNode(_component_N8nNodeCreatorNode, {
|
|
75
|
+
class: normalizeClass(_ctx.$style.templateLink),
|
|
76
|
+
title: template.properties.title,
|
|
77
|
+
description: template.properties.description,
|
|
78
|
+
tag: template.properties.tag,
|
|
79
|
+
"show-action-arrow": true,
|
|
80
|
+
"is-trigger": false,
|
|
81
|
+
"hide-node-icon": true
|
|
82
|
+
}, createSlots({ _: 2 }, [
|
|
83
|
+
template.properties.nodes ? {
|
|
84
|
+
name: "extraDetails",
|
|
85
|
+
fn: withCtx(() => [
|
|
86
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(template.properties.nodes, (node) => {
|
|
87
|
+
return openBlock(), createBlock(_component_NodeIcon, {
|
|
88
|
+
key: node.name,
|
|
89
|
+
"node-type": node,
|
|
90
|
+
size: 16,
|
|
91
|
+
"show-tooltip": true
|
|
92
|
+
}, null, 8, ["node-type"]);
|
|
93
|
+
}), 128))
|
|
94
|
+
]),
|
|
95
|
+
key: "0"
|
|
96
|
+
} : void 0
|
|
97
|
+
]), 1032, ["class", "title", "description", "tag"])
|
|
98
|
+
]),
|
|
99
|
+
_: 2
|
|
100
|
+
}, 1032, ["class", "onClick"]);
|
|
101
|
+
}), 128))
|
|
102
|
+
], 2)
|
|
103
|
+
], 2),
|
|
104
|
+
createBaseVNode("section", {
|
|
105
|
+
class: normalizeClass(_ctx.$style.section)
|
|
106
|
+
}, [
|
|
107
|
+
createVNode(_component_N8nHeading, {
|
|
108
|
+
tag: "h2",
|
|
109
|
+
bold: "",
|
|
110
|
+
size: "xlarge"
|
|
111
|
+
}, {
|
|
112
|
+
default: withCtx(() => [
|
|
113
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("preBuiltAgentTemplates.tutorials")), 1)
|
|
114
|
+
]),
|
|
115
|
+
_: 1
|
|
116
|
+
}),
|
|
117
|
+
createBaseVNode("div", {
|
|
118
|
+
class: normalizeClass(_ctx.$style.tutorials)
|
|
119
|
+
}, [
|
|
120
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(tutorials2.value, (template) => {
|
|
121
|
+
return openBlock(), createBlock(_component_N8nCard, {
|
|
122
|
+
key: template.key,
|
|
123
|
+
class: normalizeClass(_ctx.$style.card),
|
|
124
|
+
onClick: ($event) => openTemplate(template.properties.templateId)
|
|
125
|
+
}, {
|
|
126
|
+
default: withCtx(() => [
|
|
127
|
+
createVNode(_component_N8nNodeCreatorNode, {
|
|
128
|
+
class: normalizeClass(_ctx.$style.templateLink),
|
|
129
|
+
title: template.properties.title,
|
|
130
|
+
description: template.properties.description,
|
|
131
|
+
tag: template.properties.tag,
|
|
132
|
+
"show-action-arrow": true,
|
|
133
|
+
"is-trigger": false,
|
|
134
|
+
"hide-node-icon": true
|
|
135
|
+
}, createSlots({ _: 2 }, [
|
|
136
|
+
template.properties.nodes ? {
|
|
137
|
+
name: "extraDetails",
|
|
138
|
+
fn: withCtx(() => [
|
|
139
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(template.properties.nodes, (node) => {
|
|
140
|
+
return openBlock(), createBlock(_component_NodeIcon, {
|
|
141
|
+
key: node.name,
|
|
142
|
+
"node-type": node,
|
|
143
|
+
size: 16,
|
|
144
|
+
"show-tooltip": true
|
|
145
|
+
}, null, 8, ["node-type"]);
|
|
146
|
+
}), 128))
|
|
147
|
+
]),
|
|
148
|
+
key: "0"
|
|
149
|
+
} : void 0
|
|
150
|
+
]), 1032, ["class", "title", "description", "tag"])
|
|
151
|
+
]),
|
|
152
|
+
_: 2
|
|
153
|
+
}, 1032, ["class", "onClick"]);
|
|
154
|
+
}), 128))
|
|
155
|
+
], 2)
|
|
156
|
+
], 2),
|
|
157
|
+
createVNode(_component_N8nLink, {
|
|
158
|
+
to: { name: unref(VIEWS).TEMPLATES },
|
|
159
|
+
underline: "",
|
|
160
|
+
bold: ""
|
|
161
|
+
}, {
|
|
162
|
+
default: withCtx(() => [
|
|
163
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("preBuiltAgentTemplates.viewAllLink")), 1)
|
|
164
|
+
]),
|
|
165
|
+
_: 1
|
|
166
|
+
}, 8, ["to"])
|
|
167
|
+
], 2)
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
});
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
const content = "_content_13cuf_123";
|
|
175
|
+
const header = "_header_13cuf_131";
|
|
176
|
+
const section = "_section_13cuf_137";
|
|
177
|
+
const grid = "_grid_13cuf_143";
|
|
178
|
+
const card = "_card_13cuf_155";
|
|
179
|
+
const tutorials = "_tutorials_13cuf_162";
|
|
180
|
+
const templateLink = "_templateLink_13cuf_170";
|
|
181
|
+
const style0 = {
|
|
182
|
+
content,
|
|
183
|
+
header,
|
|
184
|
+
section,
|
|
185
|
+
grid,
|
|
186
|
+
card,
|
|
187
|
+
tutorials,
|
|
188
|
+
templateLink
|
|
189
|
+
};
|
|
190
|
+
const cssModules = {
|
|
191
|
+
"$style": style0
|
|
192
|
+
};
|
|
193
|
+
const PrebuiltAgentTemplatesView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
194
|
+
export {
|
|
195
|
+
PrebuiltAgentTemplatesView as default
|
|
196
|
+
};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/* BEM support Func
|
|
2
|
+
-------------------------- */
|
|
3
|
+
/* Transition
|
|
4
|
+
-------------------------- */
|
|
5
|
+
/* Color
|
|
6
|
+
-------------------------- */
|
|
7
|
+
/* Link
|
|
8
|
+
-------------------------- */
|
|
9
|
+
/* Border
|
|
10
|
+
-------------------------- */
|
|
11
|
+
/* Outline
|
|
12
|
+
-------------------------- */
|
|
13
|
+
/* Box shadow
|
|
14
|
+
-------------------------- */
|
|
15
|
+
/* Fill
|
|
16
|
+
-------------------------- */
|
|
17
|
+
/* Typography
|
|
18
|
+
-------------------------- */
|
|
19
|
+
/* z-index
|
|
20
|
+
-------------------------- */
|
|
21
|
+
/* Disable base
|
|
22
|
+
-------------------------- */
|
|
23
|
+
/* Icon
|
|
24
|
+
-------------------------- */
|
|
25
|
+
/* Checkbox
|
|
26
|
+
-------------------------- */
|
|
27
|
+
/* Radio
|
|
28
|
+
-------------------------- */
|
|
29
|
+
/* Select
|
|
30
|
+
-------------------------- */
|
|
31
|
+
/* Alert
|
|
32
|
+
-------------------------- */
|
|
33
|
+
/* MessageBox
|
|
34
|
+
-------------------------- */
|
|
35
|
+
/* Message
|
|
36
|
+
-------------------------- */
|
|
37
|
+
/* Notification
|
|
38
|
+
-------------------------- */
|
|
39
|
+
/* Input
|
|
40
|
+
-------------------------- */
|
|
41
|
+
/* Cascader
|
|
42
|
+
-------------------------- */
|
|
43
|
+
/* Group
|
|
44
|
+
-------------------------- */
|
|
45
|
+
/* Tab
|
|
46
|
+
-------------------------- */
|
|
47
|
+
/* Button
|
|
48
|
+
-------------------------- */
|
|
49
|
+
/* cascader
|
|
50
|
+
-------------------------- */
|
|
51
|
+
/* Switch
|
|
52
|
+
-------------------------- */
|
|
53
|
+
/* Dialog
|
|
54
|
+
-------------------------- */
|
|
55
|
+
/* Table
|
|
56
|
+
-------------------------- */
|
|
57
|
+
/* Pagination
|
|
58
|
+
-------------------------- */
|
|
59
|
+
/* Popup
|
|
60
|
+
-------------------------- */
|
|
61
|
+
/* Popover
|
|
62
|
+
-------------------------- */
|
|
63
|
+
/* Tooltip
|
|
64
|
+
-------------------------- */
|
|
65
|
+
/* Tag
|
|
66
|
+
-------------------------- */
|
|
67
|
+
/* Tree
|
|
68
|
+
-------------------------- */
|
|
69
|
+
/* Dropdown
|
|
70
|
+
-------------------------- */
|
|
71
|
+
/* Badge
|
|
72
|
+
-------------------------- */
|
|
73
|
+
/* Card
|
|
74
|
+
--------------------------*/
|
|
75
|
+
/* Slider
|
|
76
|
+
--------------------------*/
|
|
77
|
+
/* Steps
|
|
78
|
+
--------------------------*/
|
|
79
|
+
/* Menu
|
|
80
|
+
--------------------------*/
|
|
81
|
+
/* Rate
|
|
82
|
+
--------------------------*/
|
|
83
|
+
/* DatePicker
|
|
84
|
+
--------------------------*/
|
|
85
|
+
/* Loading
|
|
86
|
+
--------------------------*/
|
|
87
|
+
/* Scrollbar
|
|
88
|
+
--------------------------*/
|
|
89
|
+
/* Carousel
|
|
90
|
+
--------------------------*/
|
|
91
|
+
/* Collapse
|
|
92
|
+
--------------------------*/
|
|
93
|
+
/* Transfer
|
|
94
|
+
--------------------------*/
|
|
95
|
+
/* Header
|
|
96
|
+
--------------------------*/
|
|
97
|
+
/* Footer
|
|
98
|
+
--------------------------*/
|
|
99
|
+
/* Main
|
|
100
|
+
--------------------------*/
|
|
101
|
+
/* Timeline
|
|
102
|
+
--------------------------*/
|
|
103
|
+
/* Backtop
|
|
104
|
+
--------------------------*/
|
|
105
|
+
/* Link
|
|
106
|
+
--------------------------*/
|
|
107
|
+
/* Calendar
|
|
108
|
+
--------------------------*/
|
|
109
|
+
/* Form
|
|
110
|
+
-------------------------- */
|
|
111
|
+
/* Avatar
|
|
112
|
+
--------------------------*/
|
|
113
|
+
/* Break-point
|
|
114
|
+
--------------------------*/
|
|
115
|
+
/* Break-points
|
|
116
|
+
-------------------------- */
|
|
117
|
+
/* Scrollbar
|
|
118
|
+
-------------------------- */
|
|
119
|
+
/* Placeholder
|
|
120
|
+
-------------------------- */
|
|
121
|
+
/* BEM
|
|
122
|
+
-------------------------- */
|
|
123
|
+
._content_13cuf_123 {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
justify-content: flex-start;
|
|
127
|
+
gap: var(--spacing-m);
|
|
128
|
+
padding-bottom: var(--spacing-l);
|
|
129
|
+
}
|
|
130
|
+
._header_13cuf_131 {
|
|
131
|
+
display: flex;
|
|
132
|
+
justify-content: space-between;
|
|
133
|
+
align-items: center;
|
|
134
|
+
}
|
|
135
|
+
._section_13cuf_137 {
|
|
136
|
+
display: flex;
|
|
137
|
+
flex-direction: column;
|
|
138
|
+
gap: var(--spacing-s);
|
|
139
|
+
}
|
|
140
|
+
._grid_13cuf_143 {
|
|
141
|
+
display: grid;
|
|
142
|
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
143
|
+
gap: var(--spacing-s);
|
|
144
|
+
width: 100%;
|
|
145
|
+
box-sizing: border-box;
|
|
146
|
+
align-items: start;
|
|
147
|
+
align-content: start;
|
|
148
|
+
grid-auto-rows: auto;
|
|
149
|
+
margin-bottom: var(--spacing-s);
|
|
150
|
+
}
|
|
151
|
+
._card_13cuf_155 {
|
|
152
|
+
margin: 0;
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
align-self: start;
|
|
156
|
+
}
|
|
157
|
+
._tutorials_13cuf_162 {
|
|
158
|
+
display: flex;
|
|
159
|
+
flex-direction: column;
|
|
160
|
+
width: 100%;
|
|
161
|
+
gap: var(--spacing-s);
|
|
162
|
+
margin-bottom: var(--spacing-s);
|
|
163
|
+
}
|
|
164
|
+
._templateLink_13cuf_170 {
|
|
165
|
+
padding: 0;
|
|
166
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, x as computed, a7 as watch, h as createElementBlock, g as openBlock, n as normalizeClass, X as renderSlot, j as createBaseVNode, f as createCommentVNode, t as toDisplayString, e as createBlock, i as createVNode, l as unref,
|
|
1
|
+
import { d as defineComponent, r as ref, x as computed, a7 as watch, h as createElementBlock, g as openBlock, n as normalizeClass, X as renderSlot, j as createBaseVNode, f as createCommentVNode, t as toDisplayString, e as createBlock, i as createVNode, l as unref, ed as N8nActionToggle, w as withCtx, p as N8nText, k as createTextVNode, a9 as Tooltip, dK as N8nLoading, F as Fragment, A as renderList, B as withModifiers, C as N8nLink, _ as _export_sfc, aF as ProjectTypes, fr as isIconOrEmoji, c as useI18n, fs as __unplugin_components_0$1 } from "./index--OJ5nhDf.js";
|
|
2
2
|
const _hoisted_1 = { "data-test-id": "hidden-items-tooltip" };
|
|
3
3
|
const _hoisted_2 = ["title", "data-resourceid", "onClick", "onMouseenter", "onMouseup"];
|
|
4
4
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, a2 as useRoute, r as ref, x as computed, V as VIEWS, c as useI18n, a7 as watch, e as createBlock, g as openBlock,
|
|
2
|
-
import { u as useProjectPages } from "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, a2 as useRoute, r as ref, x as computed, V as VIEWS, c as useI18n, a7 as watch, e as createBlock, g as openBlock, gh as N8nTabs, aG as useTemplateRef, h as createElementBlock, n as normalizeClass, X as renderSlot, i as createVNode, l as unref, ed as N8nActionToggle, w as withCtx, aa as _sfc_main$3, _ as _export_sfc, b as useRouter, au as useProjectsStore, af as useSourceControlStore, v as useSettingsStore, Q as useUIStore, aF as ProjectTypes, fr as isIconOrEmoji, aB as getResourcePermissions, gi as useElementSize, gj as useResizeObserver, j as createBaseVNode, f as createCommentVNode, fs as __unplugin_components_0, m as N8nHeading, k as createTextVNode, t as toDisplayString, p as N8nText, q as N8nButton, K as mergeProps, a9 as Tooltip, gk as PROJECT_DATA_STORES } from "./index--OJ5nhDf.js";
|
|
2
|
+
import { u as useProjectPages } from "./useProjectPages-CH519D2j.js";
|
|
3
3
|
function processDynamicTab(tab, projectId) {
|
|
4
4
|
if (!tab.dynamicRoute) {
|
|
5
5
|
return tab;
|
|
@@ -284,13 +284,40 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
284
284
|
const showProjectIcon = computed(() => {
|
|
285
285
|
return !projectPages.isOverviewSubPage && !projectPages.isSharedSubPage && !isPersonalProject.value;
|
|
286
286
|
});
|
|
287
|
+
function isCredentialsListView(routeName) {
|
|
288
|
+
const CREDENTIAL_VIEWS = [
|
|
289
|
+
VIEWS.PROJECTS_CREDENTIALS,
|
|
290
|
+
VIEWS.CREDENTIALS,
|
|
291
|
+
VIEWS.SHARED_CREDENTIALS
|
|
292
|
+
];
|
|
293
|
+
return CREDENTIAL_VIEWS.includes(routeName);
|
|
294
|
+
}
|
|
295
|
+
function isWorkflowListView(routeName) {
|
|
296
|
+
const WORKFLOWS_VIEWS = [
|
|
297
|
+
VIEWS.PROJECTS_WORKFLOWS,
|
|
298
|
+
VIEWS.WORKFLOWS,
|
|
299
|
+
VIEWS.SHARED_WORKFLOWS,
|
|
300
|
+
VIEWS.PROJECTS_FOLDERS
|
|
301
|
+
];
|
|
302
|
+
return WORKFLOWS_VIEWS.includes(routeName);
|
|
303
|
+
}
|
|
304
|
+
function getUIContext(routeName) {
|
|
305
|
+
if (isCredentialsListView(routeName)) {
|
|
306
|
+
return "credentials_list";
|
|
307
|
+
} else if (isWorkflowListView(routeName)) {
|
|
308
|
+
return "workflow_list";
|
|
309
|
+
} else {
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
287
313
|
const actions2 = {
|
|
288
314
|
[ACTION_TYPES.WORKFLOW]: (projectId) => {
|
|
289
315
|
void router.push({
|
|
290
316
|
name: VIEWS.NEW_WORKFLOW,
|
|
291
317
|
query: {
|
|
292
318
|
projectId,
|
|
293
|
-
parentFolderId: route.params.folderId
|
|
319
|
+
parentFolderId: route.params.folderId,
|
|
320
|
+
uiContext: getUIContext(route.name?.toString() ?? "")
|
|
294
321
|
}
|
|
295
322
|
});
|
|
296
323
|
},
|
|
@@ -300,6 +327,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
300
327
|
params: {
|
|
301
328
|
projectId,
|
|
302
329
|
credentialId: "create"
|
|
330
|
+
},
|
|
331
|
+
query: {
|
|
332
|
+
uiContext: getUIContext(route.name?.toString() ?? "")
|
|
303
333
|
}
|
|
304
334
|
});
|
|
305
335
|
},
|
|
@@ -326,9 +356,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
326
356
|
if (projectPages.isSharedSubPage) {
|
|
327
357
|
return i18n.baseText("projects.header.shared.subtitle");
|
|
328
358
|
} else if (projectPages.isOverviewSubPage) {
|
|
329
|
-
return i18n.baseText(
|
|
359
|
+
return i18n.baseText(
|
|
360
|
+
settingsStore.isDataStoreFeatureEnabled ? "projects.header.overview.subtitleWithDataTables" : "projects.header.overview.subtitle"
|
|
361
|
+
);
|
|
330
362
|
} else if (isPersonalProject.value) {
|
|
331
|
-
return i18n.baseText(
|
|
363
|
+
return i18n.baseText(
|
|
364
|
+
settingsStore.isDataStoreFeatureEnabled ? "projects.header.personal.subtitleWithDataTables" : "projects.header.personal.subtitle"
|
|
365
|
+
);
|
|
332
366
|
}
|
|
333
367
|
return null;
|
|
334
368
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, x as computed, e as createBlock, g as openBlock,
|
|
2
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
3
|
-
import "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, r as ref, x as computed, e as createBlock, g as openBlock, br as createSlots, w as withCtx, X as renderSlot, h as createElementBlock, F as Fragment, A as renderList, l as unref, e9 as _sfc_main$5, n as normalizeClass, i as createVNode, J as N8nUserInfo, K as mergeProps, D as useI18n, e8 as N8nSelect, _ as _export_sfc, ef as mergeModels, eg as useModel, bq as onClickOutside, j as createBaseVNode, f as createCommentVNode, a9 as Tooltip, aa as _sfc_main$6, q as N8nButton, k as createTextVNode, t as toDisplayString, gh as N8nTabs, N as N8nIcon, c as useI18n$1, a8 as resolveComponent, p as N8nText, fC as ProjectSharing, e5 as N8nInputLabel, cZ as N8nInput, B as withModifiers, aA as usePageRedirectionHelper, ab as I18nT, u as useUsersStore, au as useProjectsStore, gu as useRolesStore, bb as useCloudPlanStore, a as useToast, b as useRouter, ax as useDocumentTitle, a7 as watch, b1 as onBeforeMount, o as onMounted, eX as N8nFormInput, gv as N8nUsersList, dP as deepCopy, V as VIEWS, al as useTelemetry, Y as nextTick, fr as isIconOrEmoji } from "./index--OJ5nhDf.js";
|
|
2
|
+
import { P as ProjectHeader } from "./ProjectHeader-CVfPUZNI.js";
|
|
3
|
+
import "./useProjectPages-CH519D2j.js";
|
|
4
4
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "UserSelect",
|
|
6
6
|
props: {
|
|
@@ -820,10 +820,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
820
820
|
const projectRoles = computed(
|
|
821
821
|
() => rolesStore.processedProjectRoles.map((role) => ({
|
|
822
822
|
...role,
|
|
823
|
-
|
|
823
|
+
displayName: projectRoleTranslations.value[role.slug] ?? role.displayName
|
|
824
824
|
}))
|
|
825
825
|
);
|
|
826
|
-
const firstLicensedRole = computed(() => projectRoles.value.find((role) => role.licensed)?.
|
|
826
|
+
const firstLicensedRole = computed(() => projectRoles.value.find((role) => role.licensed)?.slug);
|
|
827
827
|
const onAddMember = (userId) => {
|
|
828
828
|
isDirty.value = true;
|
|
829
829
|
const user = usersStore.usersById[userId];
|
|
@@ -1115,7 +1115,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1115
1115
|
}, [
|
|
1116
1116
|
createVNode(_component_N8nSelect, {
|
|
1117
1117
|
class: "mr-2xs",
|
|
1118
|
-
"model-value": user?.role || projectRoles.value[0].
|
|
1118
|
+
"model-value": user?.role || projectRoles.value[0].slug,
|
|
1119
1119
|
size: "small",
|
|
1120
1120
|
"data-test-id": "projects-settings-user-role-select",
|
|
1121
1121
|
"onUpdate:modelValue": ($event) => onRoleAction(user.id, $event)
|
|
@@ -1123,13 +1123,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1123
1123
|
default: withCtx(() => [
|
|
1124
1124
|
(openBlock(true), createElementBlock(Fragment, null, renderList(projectRoles.value, (role) => {
|
|
1125
1125
|
return openBlock(), createBlock(_component_N8nOption, {
|
|
1126
|
-
key: role.
|
|
1127
|
-
value: role.
|
|
1128
|
-
label: role.
|
|
1126
|
+
key: role.slug,
|
|
1127
|
+
value: role.slug,
|
|
1128
|
+
label: role.displayName,
|
|
1129
1129
|
disabled: !role.licensed
|
|
1130
1130
|
}, {
|
|
1131
1131
|
default: withCtx(() => [
|
|
1132
|
-
createTextVNode(toDisplayString(role.
|
|
1132
|
+
createTextVNode(toDisplayString(role.displayName), 1),
|
|
1133
1133
|
!role.licensed ? (openBlock(), createElementBlock("span", {
|
|
1134
1134
|
key: 0,
|
|
1135
1135
|
class: normalizeClass(_ctx.$style.upgrade),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, a0 as usePushConnectionStore, x as computed,
|
|
1
|
+
import { d as defineComponent, a0 as usePushConnectionStore, x as computed, cc as resolveDirective, h as createElementBlock, g as openBlock, X as renderSlot, i as createVNode, a9 as Tooltip, w as withCtx, j as createBaseVNode, k as createTextVNode, N as N8nIcon, t as toDisplayString, l as unref, c as useI18n, b2 as withDirectives } from "./index--OJ5nhDf.js";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "push-connection-lost primary-color"
|