n8n-editor-ui 1.107.3 → 1.109.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.
Files changed (124) hide show
  1. package/dist/assets/{AddDataStoreModal-BWJ9lPXD.js → AddDataStoreModal-DQSrUeGv.js} +27 -10
  2. package/dist/assets/{AnimatedSpinner-DNlzAAjE.js → AnimatedSpinner-DG0OJkY1.js} +1 -1
  3. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CNykFw3C.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DL7yrAdr.js} +1 -1
  4. package/dist/assets/{AuthView-CBZF2tp7.js → AuthView-BjsoW1-5.js} +2 -2
  5. package/dist/assets/{ChangePasswordView-BNZ4Lec-.js → ChangePasswordView-wL-Pegb8.js} +3 -3
  6. package/dist/assets/CollectionParameter-CGRCLW5F.js +4 -0
  7. package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-CWb4OBYA.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-Y9jgPwUm.js} +1 -1
  8. package/dist/assets/{CredentialsView-CsNObRPu.js → CredentialsView-Cp-dKa-6.js} +8 -8
  9. package/dist/assets/DataStoreActions.vue_vue_type_script_setup_true_lang-jUSBJd47.js +89 -0
  10. package/dist/assets/{WorkflowActivator-22RW64G2.css → DataStoreDetailsView-BxDmY87S.css} +268 -200
  11. package/dist/assets/DataStoreDetailsView-D9YNa5HC.js +41178 -0
  12. package/dist/assets/{DataStoreView-BNXibrgV.js → DataStoreView-Bs-qcZ8z.js} +63 -155
  13. package/dist/assets/{DataStoreView-D-Wmcgs5.css → DataStoreView-bZrewhaR.css} +10 -15
  14. package/dist/assets/{DemoFooter-DN__rQTx.js → DemoFooter-DPTKA9IL.js} +6 -6
  15. package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-BLs3shin.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-DiIUOGo1.js} +1 -1
  16. package/dist/assets/{EntityNotFound-DwzIV-IA.js → EntityNotFound-7GWizCKV.js} +1 -1
  17. package/dist/assets/{EntityUnAuthorised-Uk7UofGI.js → EntityUnAuthorised-BGNR4Y6R.js} +1 -1
  18. package/dist/assets/{ErrorView-2aaHp4mm.js → ErrorView-Dbc4jM8G.js} +1 -1
  19. package/dist/assets/{EvaluationsRootView-DajOMNNe.js → EvaluationsRootView-bKi3SFkK.js} +1 -1
  20. package/dist/assets/{EvaluationsView-D9B7p6ca.js → EvaluationsView-URJMmngS.js} +4 -4
  21. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-xG0FUKDV.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-C8GA5YsR.js} +4 -4
  22. package/dist/assets/{ExecutionsView-CcstUltt.js → ExecutionsView-C32NF_Mi.js} +11 -11
  23. package/dist/assets/{FixedCollectionParameter-B0MexyJU.js → FixedCollectionParameter-C32o7Xw1.js} +1 -1
  24. package/dist/assets/{ForgotMyPasswordView-Bah9hI_a.js → ForgotMyPasswordView-BIGcjM0k.js} +3 -3
  25. package/dist/assets/{InfoAccordion-BL8J1chC.js → InfoAccordion-DVdDpADr.js} +2 -2
  26. package/dist/assets/{InsightsChartAverageRuntime-PuDIJUWO.js → InsightsChartAverageRuntime-CjOAk50Z.js} +4 -4
  27. package/dist/assets/{InsightsChartFailed-e8gNXvOD.js → InsightsChartFailed-DCQYezXm.js} +4 -4
  28. package/dist/assets/{InsightsChartFailureRate-CTHQ0RyF.js → InsightsChartFailureRate-L674yUIQ.js} +4 -4
  29. package/dist/assets/{InsightsChartTimeSaved-DnvNXWyi.js → InsightsChartTimeSaved-B6a4bv2j.js} +4 -4
  30. package/dist/assets/{InsightsChartTotal-DD_g0FlT.js → InsightsChartTotal-BGmz_E44.js} +4 -4
  31. package/dist/assets/{InsightsDashboard-Dd6ng80b.js → InsightsDashboard-CbtPLqME.js} +10 -10
  32. package/dist/assets/{InsightsPaywall-CMRBFk7F.js → InsightsPaywall-iTfZzLCq.js} +1 -1
  33. package/dist/assets/{InsightsSummary-od7C9keP.js → InsightsSummary-D0XZxoWu.js} +2 -2
  34. package/dist/assets/{InsightsTableWorkflows-bDP7Feik.js → InsightsTableWorkflows-DYL5sIeL.js} +15 -13
  35. package/dist/assets/{Logo-DccSZavS.js → Logo-BF6xE_TK.js} +1 -1
  36. package/dist/assets/{LogsPanel-B-Tmod-K.css → LogsPanel-BinqqXXh.css} +14 -17
  37. package/dist/assets/{LogsPanel-CgRsN0f1.js → LogsPanel-DhSbCRI8.js} +193 -141
  38. package/dist/assets/{MainHeader-C7eM_NQZ.css → MainHeader-BofAi8wS.css} +42 -42
  39. package/dist/assets/{MainHeader-BuQIia5G.js → MainHeader-C992btCf.js} +488 -481
  40. package/dist/assets/{MainSidebar-DmJW5X0O.js → MainSidebar-CfBkhJuz.js} +47 -66
  41. package/dist/assets/{NodeCreation-BWPpAKFI.js → NodeCreation-C4-JrWkw.js} +4 -4
  42. package/dist/assets/{NodeCreator-CcJ3ERxm.js → NodeCreator-BHFu5J3H.js} +19 -17
  43. package/dist/assets/{NodeCreator-COgNP4W1.css → NodeCreator-vQ-Sfr_5.css} +8 -9
  44. package/dist/assets/{NodeDetailsView-CCLWHias.js → NodeDetailsView-DucQbxES.js} +14 -14
  45. package/dist/assets/{NodeDetailsViewV2-dXQZWfaF.js → NodeDetailsViewV2-By7jano3.js} +25 -25
  46. package/dist/assets/{NodeDetailsViewV2-Bn1PbAPe.css → NodeDetailsViewV2-J_3cfdea.css} +15 -15
  47. package/dist/assets/{NodeView-DXfRa5dq.js → NodeView-Bi4OfDJp.js} +15 -11
  48. package/dist/assets/ProjectBreadcrumb-B1Hnf5da.css +445 -0
  49. package/dist/assets/ProjectBreadcrumb-l5PnV6Jp.js +381 -0
  50. package/dist/assets/{ProjectHeader-B9EjwT8u.js → ProjectHeader-D1veUs2f.js} +27 -30
  51. package/dist/assets/{ProjectSettings-DxChDPJp.js → ProjectSettings-CiMu32JB.js} +6 -6
  52. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CAcI_6zc.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-Cl5RoRJK.js} +2 -2
  53. package/dist/assets/{ResourcesListLayout-BXykiIem.js → ResourcesListLayout-V2ovJZd-.js} +3 -3
  54. package/dist/assets/{RunDataJson-DQ-wEydT.js → RunDataJson--o61ywP4.js} +3 -3
  55. package/dist/assets/{RunDataJsonActions-DkwJw6g0.js → RunDataJsonActions-BuTnnCdp.js} +14 -14
  56. package/dist/assets/{RunDataParsedAiContent-pthnU6es.js → RunDataParsedAiContent-Dv43fJJj.js} +2 -2
  57. package/dist/assets/{RunDataSearch-Dz5_0Sop.js → RunDataSearch-DhhRomuh.js} +1 -1
  58. package/dist/assets/{RunDataTable-DlwkWBoU.js → RunDataTable-BRNjCbjf.js} +6 -6
  59. package/dist/assets/{SamlOnboarding-BfiycZyp.js → SamlOnboarding-ChVfS2ix.js} +3 -3
  60. package/dist/assets/{SettingsApiView-D6E5CVxl.js → SettingsApiView-EJcHWxis.js} +1 -1
  61. package/dist/assets/{SettingsCommunityNodesView-CQV4UbKm.js → SettingsCommunityNodesView-BCGKGJGl.js} +5 -5
  62. package/dist/assets/{SettingsExternalSecrets-nYlsTral.js → SettingsExternalSecrets-DQ6GuwI_.js} +1 -1
  63. package/dist/assets/{SettingsLdapView-C35iJN3N.js → SettingsLdapView-YMEEL5g4.js} +1 -1
  64. package/dist/assets/{SettingsLogStreamingView-DF2IVwuv.js → SettingsLogStreamingView-CMRM9qEX.js} +1 -1
  65. package/dist/assets/{SettingsPersonalView-DvTBCV7u.js → SettingsPersonalView-CQ3j6jFh.js} +2 -2
  66. package/dist/assets/{SettingsSourceControl-Bp7kBNsF.js → SettingsSourceControl-W3xQHBQs.js} +2 -2
  67. package/dist/assets/{SettingsSso-D3MsGwAG.js → SettingsSso-B-RJISS8.js} +8 -6
  68. package/dist/assets/{SettingsUsageAndPlan-BvSyV6eq.js → SettingsUsageAndPlan-BI4z3ArV.js} +2 -2
  69. package/dist/assets/{SettingsUsersView-BKx9xQmw.js → SettingsUsersView-FdTxfP_9.js} +3 -3
  70. package/dist/assets/{SettingsView-N1braOIS.js → SettingsView-enVRJi4X.js} +1 -1
  71. package/dist/assets/{SetupView-DB325RA-.js → SetupView-DhQVRFto.js} +3 -3
  72. package/dist/assets/{SetupWorkflowCredentialsButton-Bv6XJXPb.js → SetupWorkflowCredentialsButton-o-0v9TC0.js} +1 -1
  73. package/dist/assets/{SetupWorkflowFromTemplateView-DvJ9hJNk.js → SetupWorkflowFromTemplateView-t24Wf8j0.js} +4 -4
  74. package/dist/assets/{SigninView-Do_ZE4PN.js → SigninView-CqnnxcHH.js} +3 -3
  75. package/dist/assets/{SignoutView-RMWoU9ka.js → SignoutView-BYkRErR0.js} +1 -1
  76. package/dist/assets/{SignupView-DaSOlcHH.js → SignupView-CZ5xz8Ej.js} +3 -3
  77. package/dist/assets/{TableBase-DEfTMdd5.js → TableBase-DZ3KHAaq.js} +1 -1
  78. package/dist/assets/{Tag-Bpg7pWwM.js → Tag-BZXOdJeY.js} +1 -1
  79. package/dist/assets/{Tags-BOko1qXh.js → Tags-BGrNA-zc.js} +2 -2
  80. package/dist/assets/{TemplateDetails-DKT_t-A1.js → TemplateDetails-CGeXTU0J.js} +2 -2
  81. package/dist/assets/{TemplateList-CKb1zA2_.js → TemplateList-BUJPQKR1.js} +1 -1
  82. package/dist/assets/{TemplatesCollectionView-D47Zvruw.js → TemplatesCollectionView-CDz25qgN.js} +7 -7
  83. package/dist/assets/{TemplatesSearchView-C1Drn--8.js → TemplatesSearchView-l-Ueq6ha.js} +3 -3
  84. package/dist/assets/{TemplatesView-DLGApF1u.js → TemplatesView-CbzVhmOD.js} +1 -1
  85. package/dist/assets/{TemplatesWorkflowView-BU_v7Vg5.js → TemplatesWorkflowView-D2fR5qLE.js} +7 -7
  86. package/dist/assets/{TriggerPanel-DmVMaaLr.css → TriggerPanel-BFPMKijE.css} +4 -4
  87. package/dist/assets/{TriggerPanel-BEWhhdtu.js → TriggerPanel-BNb8Fkp3.js} +23 -12
  88. package/dist/assets/{VariablesView-CvBjaoev.js → VariablesView-ZO4oTir0.js} +9 -9
  89. package/dist/assets/{WorkerView-cFswonAF.js → WorkerView-DjYjCGEz.js} +6 -6
  90. package/dist/assets/{WorkflowActivator-mjgVWRcp.js → WorkflowActivator-CFrLXTxM.js} +13 -389
  91. package/dist/assets/WorkflowActivator-jI4sUqXL.css +391 -0
  92. package/dist/assets/{WorkflowExecutionsInfoAccordion-CZwCkYjJ.js → WorkflowExecutionsInfoAccordion-C8Tc4Mno.js} +3 -3
  93. package/dist/assets/{WorkflowExecutionsLandingPage-C5AsTUva.js → WorkflowExecutionsLandingPage-BiuuJ3ll.js} +3 -3
  94. package/dist/assets/{WorkflowExecutionsPreview-1HvxolBT.js → WorkflowExecutionsPreview-CYoDxL8E.js} +4 -4
  95. package/dist/assets/{WorkflowExecutionsView-YiB3L6cC.js → WorkflowExecutionsView-C78loZuv.js} +8 -8
  96. package/dist/assets/{WorkflowHistory-DMhEstvs.js → WorkflowHistory-CqoFF8_8.js} +4 -4
  97. package/dist/assets/{WorkflowOnboardingView-Dnm-Rnp-.js → WorkflowOnboardingView-dpvpoau1.js} +1 -1
  98. package/dist/assets/{WorkflowPreview-Dy8KQCnA.js → WorkflowPreview-83_iB67I.js} +1 -1
  99. package/dist/assets/{WorkflowsView-Cv689d2r.js → WorkflowsView-Bhr5Vfcw.js} +24 -23
  100. package/dist/assets/{WorkflowsView-eYGsq80b.css → WorkflowsView-BuvoAeDm.css} +18 -17
  101. package/dist/assets/{canvas-DBxg3FGB.js → canvas-Kg89rGSt.js} +1 -1
  102. package/dist/assets/{chartjs.utils-ziIypBRK.js → chartjs.utils-6nSeP00a.js} +2 -2
  103. package/dist/assets/{core-BQX74yIJ.js → core-BiQ8TPaF.js} +9 -8
  104. package/dist/assets/dataStore.store-Bru4R38e.js +268 -0
  105. package/dist/assets/{en-CdefH_p-.js → en-CZDXhi4W.js} +50 -27
  106. package/dist/assets/{global-link-actions-BgqtAMjH.js → global-link-actions-BfwrTt1h.js} +1 -1
  107. package/dist/assets/{index-BFyMw9-0.css → index-Am8RmnT4.css} +233 -241
  108. package/dist/assets/{index-D4wn1X5v.js → index-CZxO9Y7t.js} +1 -1
  109. package/dist/assets/{index-eiGMGof4.js → index-V25MIkzH.js} +6310 -5682
  110. package/dist/assets/{pickBy-D-ZGPPK6.js → pickBy-CInoejW7.js} +1 -1
  111. package/dist/assets/{polyfills-eMEFRc79.js → polyfills-BhZQ1FDI.js} +44 -0
  112. package/dist/assets/{readyToRunWorkflows.store-BAFBPhWS.js → readyToRunWorkflows.store-D8qADh9A.js} +1 -1
  113. package/dist/assets/{templateActions-BI7pkM1w.js → templateActions-CytValxU.js} +1 -1
  114. package/dist/assets/{typescript.worker-ku8s_Oaf.js → typescript.worker-BcoVIdo9.js} +8 -8
  115. package/dist/assets/{useBeforeUnload-BjekgFaf.js → useBeforeUnload-yQFY1z_s.js} +1 -1
  116. package/dist/assets/{useExecutionDebugging-B38snoEK.js → useExecutionDebugging-DiCw9NpL.js} +1 -1
  117. package/dist/assets/{useImportCurlCommand-Cm4bDewX.js → useImportCurlCommand-UhCp_Hxn.js} +44 -37
  118. package/dist/assets/{useProjectPages-ALKmwRBA.js → useProjectPages-DNuz01tw.js} +1 -1
  119. package/dist/assets/{usePushConnection-CEXhOxd5.js → usePushConnection-BOddel3U.js} +3 -3
  120. package/dist/assets/{useWorkflowActivate-B8jSp35O.js → useWorkflowActivate-DKZ9PzgK.js} +1 -1
  121. package/dist/index.html +3 -3
  122. package/package.json +1 -1
  123. package/dist/assets/CollectionParameter-BNLFCXfs.js +0 -4
  124. package/dist/assets/dataStore.store-BPclFpMe.js +0 -98
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, Z as useUIStore, aa as useRoute, a as useToast, r as ref, o as onMounted, e as createBlock, g as openBlock, w as withCtx, j as createBaseVNode, n as normalizeClass, i as createVNode, q as N8nButton, l as unref, c as useI18n, t as toDisplayString, e5 as N8nInputLabel, c$ as N8nInput, ba as withKeys, gC as __unplugin_components_3, _ as _export_sfc } from "./index-eiGMGof4.js";
2
- import { u as useDataStoreStore } from "./dataStore.store-BPclFpMe.js";
1
+ import { d as defineComponent, Q as useUIStore, a2 as useRoute, b as useRouter, a as useToast, r as ref, o as onMounted, e as createBlock, g as openBlock, w as withCtx, j as createBaseVNode, n as normalizeClass, i as createVNode, q as N8nButton, l as unref, c as useI18n, t as toDisplayString, d_ as N8nInputLabel, cT as N8nInput, b8 as withKeys, gK as __unplugin_components_3, gu as DATA_STORE_DETAILS, gb as PROJECT_DATA_STORES, _ as _export_sfc } from "./index-V25MIkzH.js";
2
+ import { u as useDataStoreStore } from "./dataStore.store-Bru4R38e.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "AddDataStoreModal",
5
5
  props: {
@@ -10,6 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  const dataStoreStore = useDataStoreStore();
11
11
  const uiStore = useUIStore();
12
12
  const route = useRoute();
13
+ const router = useRouter();
13
14
  const i18n = useI18n();
14
15
  const toast = useToast();
15
16
  const dataStoreName = ref("");
@@ -22,14 +23,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
23
  });
23
24
  const onSubmit = async () => {
24
25
  try {
25
- await dataStoreStore.createDataStore(dataStoreName.value, route.params.projectId);
26
- } catch (error) {
27
- toast.showError(error, i18n.baseText("dataStore.add.error"));
28
- } finally {
26
+ const newDataStore = await dataStoreStore.createDataStore(
27
+ dataStoreName.value,
28
+ route.params.projectId
29
+ );
30
+ void router.push({
31
+ name: DATA_STORE_DETAILS,
32
+ params: {
33
+ id: newDataStore.id
34
+ }
35
+ });
29
36
  dataStoreName.value = "";
30
37
  uiStore.closeModal(props.modalName);
38
+ } catch (error) {
39
+ toast.showError(error, i18n.baseText("dataStore.add.error"));
31
40
  }
32
41
  };
42
+ const onCancel = () => {
43
+ uiStore.closeModal(props.modalName);
44
+ redirectToDataStores();
45
+ };
46
+ const redirectToDataStores = () => {
47
+ void router.replace({ name: PROJECT_DATA_STORES });
48
+ };
33
49
  return (_ctx, _cache) => {
34
50
  const _component_n8n_input = N8nInput;
35
51
  const _component_n8n_input_label = N8nInputLabel;
@@ -38,7 +54,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
54
  return openBlock(), createBlock(_component_Modal, {
39
55
  name: props.modalName,
40
56
  center: true,
41
- width: "540px"
57
+ width: "540px",
58
+ "before-close": redirectToDataStores
42
59
  }, {
43
60
  header: withCtx(() => [
44
61
  createBaseVNode("h2", null, toDisplayString(unref(i18n).baseText("dataStore.add.title")), 1)
@@ -70,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
87
  }, 8, ["label"])
71
88
  ], 2)
72
89
  ]),
73
- footer: withCtx(({ close }) => [
90
+ footer: withCtx(() => [
74
91
  createBaseVNode("div", {
75
92
  class: normalizeClass(_ctx.$style.footer)
76
93
  }, [
@@ -84,8 +101,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
84
101
  type: "secondary",
85
102
  label: unref(i18n).baseText("generic.cancel"),
86
103
  "data-test-id": "cancel-add-data-store-button",
87
- onClick: close
88
- }, null, 8, ["label", "onClick"])
104
+ onClick: onCancel
105
+ }, null, 8, ["label"])
89
106
  ], 2)
90
107
  ]),
91
108
  _: 1
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, h as createElementBlock, g as openBlock, fs as createStaticVNode } from "./index-eiGMGof4.js";
1
+ import { _ as _export_sfc, h as createElementBlock, g as openBlock, fm as createStaticVNode } from "./index-V25MIkzH.js";
2
2
  const _sfc_main = {};
3
3
  const _hoisted_1 = {
4
4
  width: "14",
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, fw as useAnnotationTagsStore, Z as useUIStore, x as computed, e as createBlock, g as openBlock, fx as _sfc_main$1, fy as ANNOTATION_TAGS_MANAGER_MODAL_KEY } from "./index-eiGMGof4.js";
1
+ import { d as defineComponent, fq as useAnnotationTagsStore, Q as useUIStore, x as computed, e as createBlock, g as openBlock, fr as _sfc_main$1, fs as ANNOTATION_TAGS_MANAGER_MODAL_KEY } from "./index-V25MIkzH.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "AnnotationTagsDropdown.ee",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, h as createElementBlock, g as openBlock, n as normalizeClass, f as createCommentVNode, j as createBaseVNode, Q as renderSlot, i as createVNode, l as unref, m as N8nHeading, w as withCtx, k as createTextVNode, t as toDisplayString, d_ as N8nFormInputs, dZ as createFormEventBus, e as createBlock, C as N8nLink, q as N8nButton, _ as _export_sfc, dX as useSSOStore, a as useToast, aa as useRoute, c as useI18n, v as useSettingsStore, p as N8nText, K as mergeProps } from "./index-eiGMGof4.js";
2
- import { L as Logo } from "./Logo-DccSZavS.js";
1
+ import { d as defineComponent, h as createElementBlock, g as openBlock, n as normalizeClass, f as createCommentVNode, j as createBaseVNode, X as renderSlot, i as createVNode, l as unref, m as N8nHeading, w as withCtx, k as createTextVNode, t as toDisplayString, dT as N8nFormInputs, dS as createFormEventBus, e as createBlock, C as N8nLink, q as N8nButton, _ as _export_sfc, dQ as useSSOStore, a as useToast, a2 as useRoute, c as useI18n, v as useSettingsStore, p as N8nText, K as mergeProps } from "./index-V25MIkzH.js";
2
+ import { L as Logo } from "./Logo-BF6xE_TK.js";
3
3
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4
4
  ...{ name: "N8nFormBox" },
5
5
  __name: "FormBox",
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, c as useI18n, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, V as VIEWS, e as createBlock, f as createCommentVNode, g as openBlock } from "./index-eiGMGof4.js";
2
- import { A as AuthView } from "./AuthView-CBZF2tp7.js";
3
- import "./Logo-DccSZavS.js";
1
+ import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, c as useI18n, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, V as VIEWS, e as createBlock, f as createCommentVNode, g as openBlock } from "./index-V25MIkzH.js";
2
+ import { A as AuthView } from "./AuthView-BjsoW1-5.js";
3
+ import "./Logo-BF6xE_TK.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "ChangePasswordView",
6
6
  setup(__props) {
@@ -0,0 +1,4 @@
1
+ import { gt as _sfc_main } from "./index-V25MIkzH.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, h as createElementBlock, g as openBlock, i as createVNode, j as createBaseVNode, l as unref, p as N8nText, w as withCtx, k as createTextVNode, t as toDisplayString, c as useI18n, bY as formatTokenUsageCount } from "./index-eiGMGof4.js";
1
+ import { d as defineComponent, h as createElementBlock, g as openBlock, i as createVNode, j as createBaseVNode, l as unref, p as N8nText, w as withCtx, k as createTextVNode, t as toDisplayString, c as useI18n, bQ as formatTokenUsageCount } from "./index-V25MIkzH.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "ConsumedTokensDetails",
4
4
  props: {
@@ -1,11 +1,11 @@
1
- import { d as defineComponent, Z as useUIStore, db as useCredentialsStore, av as useProjectsStore, x as computed, c as useI18n, aC as getResourcePermissions, fU as dateFormat, e as createBlock, g as openBlock, s as N8nCard, B as withModifiers, n as normalizeClass, w as withCtx, j as createBaseVNode, i as createVNode, h as createElementBlock, f as createCommentVNode, b4 as withDirectives, t as toDisplayString, b5 as vShow, k as createTextVNode, l as unref, eK as _sfc_main$2, p as N8nText, aU as ResourceType, g0 as ProjectCardBadge, ed as N8nActionToggle, aL as N8nBadge, gi as CredentialIcon, aq as useMessage, ar as MODAL_CONFIRM, aV as PROJECT_MOVE_RESOURCE_MODAL, _ as _export_sfc, ah as useNodeTypesStore, aj as useSourceControlStore, dc as useExternalSecretsStore, u as useUsersStore, g6 as useInsightsStore, ay as useDocumentTitle, aa as useRoute, b as useRouter, r as ref, gj as listenForModalChanges, af as watch, o as onMounted, dY as N8nActionBox, e5 as N8nInputLabel, e8 as N8nSelect, F as Fragment, A as renderList, e9 as _sfc_main$4, eY as N8nCheckbox, gk as CREDENTIAL_EMPTY_VALUE, ap as useTelemetry, v as useSettingsStore, aF as EnterpriseEditionFeature, cK as useEnvironmentsStore, gl as CREDENTIAL_SELECT_MODAL_KEY, V as VIEWS, gm as CREDENTIAL_EDIT_MODAL_KEY, gn as isCredentialsResource } from "./index-eiGMGof4.js";
2
- import { _ as _sfc_main$3 } from "./EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-BLs3shin.js";
3
- import { R as ResourcesListLayout } from "./ResourcesListLayout-BXykiIem.js";
4
- import { P as ProjectHeader } from "./ProjectHeader-B9EjwT8u.js";
5
- import { u as useProjectPages } from "./useProjectPages-ALKmwRBA.js";
6
- import { I as InsightsSummary } from "./InsightsSummary-od7C9keP.js";
7
- import { p as pickBy } from "./pickBy-D-ZGPPK6.js";
8
- import "./TableBase-DEfTMdd5.js";
1
+ import { d as defineComponent, Q as useUIStore, d3 as useCredentialsStore, au as useProjectsStore, x as computed, c as useI18n, aB as getResourcePermissions, fQ as dateFormat, e as createBlock, g as openBlock, s as N8nCard, B as withModifiers, n as normalizeClass, w as withCtx, j as createBaseVNode, i as createVNode, h as createElementBlock, f as createCommentVNode, b2 as withDirectives, t as toDisplayString, b3 as vShow, k as createTextVNode, l as unref, eD as _sfc_main$2, p as N8nText, aS as ResourceType, fY as ProjectCardBadge, e6 as N8nActionToggle, aK as N8nBadge, gf as CredentialIcon, am as useMessage, an as MODAL_CONFIRM, aT as PROJECT_MOVE_RESOURCE_MODAL, _ as _export_sfc, ad as useNodeTypesStore, af as useSourceControlStore, d4 as useExternalSecretsStore, u as useUsersStore, g2 as useInsightsStore, ax as useDocumentTitle, a2 as useRoute, b as useRouter, r as ref, gg as listenForModalChanges, a7 as watch, o as onMounted, dR as N8nActionBox, d_ as N8nInputLabel, e1 as N8nSelect, F as Fragment, A as renderList, e2 as _sfc_main$4, eS as N8nCheckbox, gh as CREDENTIAL_EMPTY_VALUE, al as useTelemetry, v as useSettingsStore, aE as EnterpriseEditionFeature, cC as useEnvironmentsStore, gi as CREDENTIAL_SELECT_MODAL_KEY, V as VIEWS, gj as CREDENTIAL_EDIT_MODAL_KEY, gk as isCredentialsResource } from "./index-V25MIkzH.js";
2
+ import { _ as _sfc_main$3 } from "./EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-DiIUOGo1.js";
3
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-V2ovJZd-.js";
4
+ import { P as ProjectHeader } from "./ProjectHeader-D1veUs2f.js";
5
+ import { u as useProjectPages } from "./useProjectPages-DNuz01tw.js";
6
+ import { I as InsightsSummary } from "./InsightsSummary-D0XZxoWu.js";
7
+ import { p as pickBy } from "./pickBy-CInoejW7.js";
8
+ import "./TableBase-DZ3KHAaq.js";
9
9
  const _hoisted_1$1 = { key: 0 };
10
10
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
11
11
  __name: "CredentialCard",
@@ -0,0 +1,89 @@
1
+ import { d as defineComponent, a as useToast, x as computed, gy as DATA_STORE_CARD_ACTIONS, c as useI18n, e as createBlock, g as openBlock, e6 as N8nActionToggle, am as useMessage, an as MODAL_CONFIRM } from "./index-V25MIkzH.js";
2
+ import { u as useDataStoreStore } from "./dataStore.store-Bru4R38e.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "DataStoreActions",
5
+ props: {
6
+ dataStore: {},
7
+ isReadOnly: { type: Boolean, default: false },
8
+ location: {}
9
+ },
10
+ emits: ["rename", "onDeleted"],
11
+ setup(__props, { emit: __emit }) {
12
+ const props = __props;
13
+ const emit = __emit;
14
+ const dataStoreStore = useDataStoreStore();
15
+ const i18n = useI18n();
16
+ const message = useMessage();
17
+ const toast = useToast();
18
+ const actions = computed(() => {
19
+ const availableActions = [
20
+ {
21
+ label: i18n.baseText("generic.delete"),
22
+ value: DATA_STORE_CARD_ACTIONS.DELETE,
23
+ disabled: props.isReadOnly
24
+ }
25
+ ];
26
+ if (props.location === "breadcrumbs") {
27
+ availableActions.unshift({
28
+ label: i18n.baseText("generic.rename"),
29
+ value: DATA_STORE_CARD_ACTIONS.RENAME,
30
+ disabled: props.isReadOnly
31
+ });
32
+ }
33
+ return availableActions;
34
+ });
35
+ const onAction = async (action) => {
36
+ switch (action) {
37
+ case DATA_STORE_CARD_ACTIONS.RENAME: {
38
+ emit("rename", {
39
+ dataStore: props.dataStore,
40
+ action: "rename"
41
+ });
42
+ break;
43
+ }
44
+ case DATA_STORE_CARD_ACTIONS.DELETE: {
45
+ const promptResponse = await message.confirm(
46
+ i18n.baseText("dataStore.delete.confirm.message", {
47
+ interpolate: { name: props.dataStore.name }
48
+ }),
49
+ i18n.baseText("dataStore.delete.confirm.title"),
50
+ {
51
+ confirmButtonText: i18n.baseText("generic.delete"),
52
+ cancelButtonText: i18n.baseText("generic.cancel")
53
+ }
54
+ );
55
+ if (promptResponse === MODAL_CONFIRM) {
56
+ await deleteDataStore();
57
+ }
58
+ break;
59
+ }
60
+ }
61
+ };
62
+ const deleteDataStore = async () => {
63
+ try {
64
+ const deleted = await dataStoreStore.deleteDataStore(
65
+ props.dataStore.id,
66
+ props.dataStore.projectId
67
+ );
68
+ if (!deleted) {
69
+ throw new Error(i18n.baseText("generic.unknownError"));
70
+ }
71
+ emit("onDeleted");
72
+ } catch (error) {
73
+ toast.showError(error, i18n.baseText("dataStore.delete.error"));
74
+ }
75
+ };
76
+ return (_ctx, _cache) => {
77
+ const _component_N8nActionToggle = N8nActionToggle;
78
+ return openBlock(), createBlock(_component_N8nActionToggle, {
79
+ actions: actions.value,
80
+ theme: "dark",
81
+ "data-test-id": "data-store-card-actions",
82
+ onAction
83
+ }, null, 8, ["actions"]);
84
+ };
85
+ }
86
+ });
87
+ export {
88
+ _sfc_main as _
89
+ };