n8n-editor-ui 1.71.3 → 1.72.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.
Files changed (151) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-C7YrhVc7.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WpdLQ_Lc.js} +1 -1
  2. package/dist/assets/{AuthView-Cnr31xHM.css → AuthView-BP3bsQpK.css} +3 -14
  3. package/dist/assets/{AuthView-BhrVKHQb.js → AuthView-xWm2P-0B.js} +1 -1
  4. package/dist/assets/{CanvasChat-B2z8TKEq.js → CanvasChat-CpplEK_c.js} +76 -104
  5. package/dist/assets/{CanvasChat-BuYT3e9G.css → CanvasChat-DhkdJLy7.css} +18 -81
  6. package/dist/assets/{CanvasControls-Gjw5xMXK.css → CanvasControls-BEOkwFDJ.css} +1 -2
  7. package/dist/assets/{CanvasControls-D3OVjMCG.js → CanvasControls-CNOZvEmR.js} +1 -1
  8. package/dist/assets/{ChangePasswordView-BkoEwfgW.js → ChangePasswordView-Bx4HKBs9.js} +2 -2
  9. package/dist/assets/CollectionParameter-IbNRc-rP.js +4 -0
  10. package/dist/assets/{ConcurrentExecutionsHeader-D99WmQjD.css → ConcurrentExecutionsHeader-ChCLnjVG.css} +7 -17
  11. package/dist/assets/{ConcurrentExecutionsHeader-D_jkbuah.js → ConcurrentExecutionsHeader-dMskl4He.js} +51 -47
  12. package/dist/assets/CredentialsView-CzforIh7.css +36 -0
  13. package/dist/assets/{CredentialsView-WgZTdwDF.js → CredentialsView-DYmrbOcr.js} +15 -25
  14. package/dist/assets/ErrorView-DZCz_7-d.css +22 -0
  15. package/dist/assets/{ErrorView-CCvyR8gc.js → ErrorView-DpKWfKAY.js} +1 -1
  16. package/dist/assets/{ExecutionsView-DNwpODRj.css → ExecutionsView-CLxQdDnP.css} +16 -43
  17. package/dist/assets/{ExecutionsView-BsIeNcoc.js → ExecutionsView-a2Slm2v9.js} +123 -38
  18. package/dist/assets/FileSaver.min-BiLlhrlQ.js +81 -0
  19. package/dist/assets/{FixedCollectionParameter-DzOGMEdq.css → FixedCollectionParameter-CUxLKPYJ.css} +1 -6
  20. package/dist/assets/{FixedCollectionParameter-DMpNSKjt.js → FixedCollectionParameter-DMiADFki.js} +5 -9
  21. package/dist/assets/{ForgotMyPasswordView-m-NI0pKA.js → ForgotMyPasswordView-RLODqWeW.js} +2 -2
  22. package/dist/assets/{MainHeader-DrUbWzLR.css → MainHeader-Bg4Jr0GW.css} +16 -63
  23. package/dist/assets/{MainHeader-CzdjrO1j.js → MainHeader-CZBWRbIF.js} +20 -33
  24. package/dist/assets/{MainSidebar-DL53w2zU.css → MainSidebar-B_Q71vG8.css} +16 -68
  25. package/dist/assets/{MainSidebar-CWZj9hUz.js → MainSidebar-Cm-l0HUG.js} +86 -71
  26. package/dist/assets/{NodeCreation-BNsKR1XL.js → NodeCreation-Bycww9rf.js} +10 -14
  27. package/dist/assets/{NodeCreation-30KXmZi2.css → NodeCreation-DTNNkgVv.css} +1 -5
  28. package/dist/assets/{NodeCreator-nENM_3bV.js → NodeCreator-BrgHuvb2.js} +54 -90
  29. package/dist/assets/{NodeCreator-CvOLgSO_.css → NodeCreator-BvqI_pdC.css} +21 -91
  30. package/dist/assets/{NodeViewSwitcher-tJDzCGJC.js → NodeViewSwitcher-D5JjSNB2.js} +7425 -1780
  31. package/dist/assets/{NodeViewSwitcher-jLTC590F.css → NodeViewSwitcher-DngiUgY8.css} +323 -950
  32. package/dist/assets/{ProjectCardBadge-Dwm_41ZR.js → ProjectCardBadge-B6a5Tl_X.js} +8 -13
  33. package/dist/assets/ProjectHeader-CDl0NBcF.css +21 -0
  34. package/dist/assets/{ProjectHeader-DTRxu2oO.js → ProjectHeader-CUoGk-wO.js} +61 -44
  35. package/dist/assets/{ProjectSettings-hzCZqVHM.js → ProjectSettings-BSOa51jE.js} +24 -42
  36. package/dist/assets/{ProjectSettings-CChpfrTS.css → ProjectSettings-DZws5IzZ.css} +2 -9
  37. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-Bv3nXXk5.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-ouQuoTYp.js} +1 -1
  38. package/dist/assets/{ResourcesListLayout-CKArPHiS.js → ResourcesListLayout-BKk7DIWo.js} +24 -30
  39. package/dist/assets/{ResourcesListLayout-I4rYUdFt.css → ResourcesListLayout-NZz6R66g.css} +11 -47
  40. package/dist/assets/{RunDataJson-jFaJ_yC4.js → RunDataJson-D7Whxi5x.js} +13 -13
  41. package/dist/assets/{RunDataJson-Dtc8i0I7.css → RunDataJson-DW_khHj4.css} +0 -1
  42. package/dist/assets/{RunDataJsonActions-zNKrn8z4.css → RunDataJsonActions-CoiM0oFP.css} +0 -1
  43. package/dist/assets/RunDataJsonActions-hLh8-Su6.js +5514 -0
  44. package/dist/assets/{RunDataSearch-BA0wlJtp.css → RunDataSearch-B4q8H9Ex.css} +0 -1
  45. package/dist/assets/{RunDataSearch-C9VyfwRz.js → RunDataSearch-Ds3EGLA6.js} +5 -7
  46. package/dist/assets/{RunDataTable-enskmmU4.css → RunDataTable-BOaG0Pms.css} +2 -10
  47. package/dist/assets/{RunDataTable-CK4Z05pd.js → RunDataTable-atOC6vYW.js} +9 -14
  48. package/dist/assets/{SamlOnboarding-POzPTpcl.js → SamlOnboarding-DuDPZUey.js} +4 -5
  49. package/dist/assets/{SettingsApiView-BOFUFUqU.js → SettingsApiView-CFlbEwnS.js} +1 -1
  50. package/dist/assets/{SettingsApiView-5wBxahqI.css → SettingsApiView-DX3S-5pa.css} +2 -8
  51. package/dist/assets/{SettingsCommunityNodesView-088VPv0r.js → SettingsCommunityNodesView-CJrxi3vi.js} +3 -3
  52. package/dist/assets/{SettingsCommunityNodesView-BTbugFls.css → SettingsCommunityNodesView-kzxtAoLp.css} +10 -42
  53. package/dist/assets/SettingsExternalSecrets-BnXyxlJd.css +29 -0
  54. package/dist/assets/{SettingsExternalSecrets-DlobsnOy.js → SettingsExternalSecrets-BusSlBVI.js} +14 -17
  55. package/dist/assets/SettingsLdapView-BLPKhtjA.js +2423 -0
  56. package/dist/assets/{SettingsLdapView-cRgzivq6.css → SettingsLdapView-BPh_inzE.css} +2 -8
  57. package/dist/assets/{SettingsLogStreamingView-EW9yIYwY.js → SettingsLogStreamingView-DI9OYnte.js} +20 -37
  58. package/dist/assets/SettingsLogStreamingView-Uz298HNW.css +46 -0
  59. package/dist/assets/{SettingsPersonalView-BOQgHIYm.css → SettingsPersonalView-CqzRUitO.css} +3 -13
  60. package/dist/assets/{SettingsPersonalView-DrJJtUL5.js → SettingsPersonalView-CwLPEQe5.js} +7 -10
  61. package/dist/assets/{SettingsSourceControl-COccchDl.js → SettingsSourceControl-BHiwsbh6.js} +1 -1
  62. package/dist/assets/{SettingsSourceControl-aZrwFtXG.css → SettingsSourceControl-C7H8sLJN.css} +5 -21
  63. package/dist/assets/{SettingsSso-BczGJSZo.js → SettingsSso-BUE-Dg9u.js} +10 -11
  64. package/dist/assets/{SettingsSso-DUkYL_--.css → SettingsSso-Be_ejj46.css} +3 -13
  65. package/dist/assets/{SettingsUsageAndPlan-vijI-va0.css → SettingsUsageAndPlan-C3fKPMTY.css} +13 -54
  66. package/dist/assets/{SettingsUsageAndPlan-OepwN_K0.js → SettingsUsageAndPlan-g8SYxLIm.js} +3 -7
  67. package/dist/assets/{SettingsUsersView-D6xH2uOE.js → SettingsUsersView-DsjbsMkp.js} +8 -15
  68. package/dist/assets/{SettingsView-D30Stwpp.js → SettingsView-BZqGq_NA.js} +3 -4
  69. package/dist/assets/{SettingsView-DOWbkj-V.css → SettingsView-o6uNYu0t.css} +1 -5
  70. package/dist/assets/{SetupView-DLhUy2sO.js → SetupView-DKcifLmN.js} +3 -9
  71. package/dist/assets/{SetupWorkflowCredentialsButton-FAOxK4hC.js → SetupWorkflowCredentialsButton-1FX7DWWs.js} +3 -5
  72. package/dist/assets/{SetupWorkflowFromTemplateView-29le4KEi.js → SetupWorkflowFromTemplateView-BI8db6Bn.js} +5 -9
  73. package/dist/assets/SetupWorkflowFromTemplateView-DjBcyMCl.css +26 -0
  74. package/dist/assets/{SigninView-B3r5QMqu.js → SigninView-DRl5Z9dU.js} +4 -5
  75. package/dist/assets/{SigninView-BEBHcgmK.css → SigninView-DzDE1gJb.css} +3 -14
  76. package/dist/assets/{SignoutView-DiRv1jyS.js → SignoutView-CD6CNCd4.js} +1 -1
  77. package/dist/assets/{SignupView-DepIL1mr.js → SignupView-BUIFD8_L.js} +2 -2
  78. package/dist/assets/{TemplateDetails-BG8YmNsP.js → TemplateDetails-BZy8nHAa.js} +1 -1
  79. package/dist/assets/{TemplateDetails-BjsdeJu8.css → TemplateDetails-p3M6A7jr.css} +1 -4
  80. package/dist/assets/{TemplateList-4lx8vpYf.css → TemplateList-BR3bpDTv.css} +13 -52
  81. package/dist/assets/{TemplateList-CEljIT09.js → TemplateList-DdYIfcdc.js} +1 -1
  82. package/dist/assets/{TemplatesCollectionView-C1BUeMtq.css → TemplatesCollectionView-DJVlK4Bb.css} +1 -5
  83. package/dist/assets/{TemplatesCollectionView-C1katHqi.js → TemplatesCollectionView-a9gOg1oh.js} +5 -5
  84. package/dist/assets/{TemplatesSearchView-BiokbeYf.css → TemplatesSearchView-CFrHWGcY.css} +4 -21
  85. package/dist/assets/{TemplatesSearchView-6ugazm6D.js → TemplatesSearchView-C_qp2w-Y.js} +5 -20
  86. package/dist/assets/{TemplatesView-BfnDbKo5.css → TemplatesView-CBNZZ_X1.css} +3 -16
  87. package/dist/assets/{TemplatesView-BnpZqzSI.js → TemplatesView-Srd2qTc6.js} +1 -1
  88. package/dist/assets/{TemplatesWorkflowView-D-rSlrYy.js → TemplatesWorkflowView-CDkCoN9X.js} +35 -39
  89. package/dist/assets/{TemplatesWorkflowView-BN5JjV6M.css → TemplatesWorkflowView-CVC0fbb6.css} +2 -10
  90. package/dist/assets/{TestDefinitionEditView-szspUG0t.css → TestDefinitionEditView-CVRXpJ4c.css} +13 -54
  91. package/dist/assets/{TestDefinitionEditView-Dw2F_7Ku.js → TestDefinitionEditView-CgQpahO7.js} +3 -4
  92. package/dist/assets/{TestDefinitionListView-Cv9ivpVk.js → TestDefinitionListView-BGJr2Okj.js} +4 -4
  93. package/dist/assets/{TestDefinitionListView-BfUssieW.css → TestDefinitionListView-BJVxwUdb.css} +9 -46
  94. package/dist/assets/{VariablesView-meR15bnW.css → VariablesView-BnGnRwcl.css} +3 -13
  95. package/dist/assets/{VariablesView-BrvfrvgE.js → VariablesView-DBlZthPg.js} +28 -38
  96. package/dist/assets/{VirtualSchema-Be-DGXEU.css → VirtualSchema-CIfwZj8N.css} +11 -48
  97. package/dist/assets/VirtualSchema-DkiHWd9N.js +378 -0
  98. package/dist/assets/{WorkerView-DhAgtBED.js → WorkerView--FWlY_KA.js} +14 -23
  99. package/dist/assets/WorkerView-CvXMClDD.css +123 -0
  100. package/dist/assets/{WorkflowActivator-Def_oRg7.js → WorkflowActivator-BbpMhG1U.js} +2 -2
  101. package/dist/assets/{WorkflowActivator-D8FiI2jP.css → WorkflowActivator-DSBGQvK0.css} +3 -9
  102. package/dist/assets/{WorkflowExecutionsInfoAccordion-lODxxxtv.js → WorkflowExecutionsInfoAccordion-DOpZ49kK.js} +1 -1
  103. package/dist/assets/{WorkflowExecutionsInfoAccordion-DfMew6q4.css → WorkflowExecutionsInfoAccordion-f5tIRAwu.css} +2 -14
  104. package/dist/assets/WorkflowExecutionsLandingPage-BodEQ5Bq.css +23 -0
  105. package/dist/assets/{WorkflowExecutionsLandingPage-Bidi-y5V.js → WorkflowExecutionsLandingPage-CAbWLqG8.js} +2 -2
  106. package/dist/assets/{WorkflowExecutionsPreview-DRCpGEbi.css → WorkflowExecutionsPreview-C-e7WZrK.css} +22 -98
  107. package/dist/assets/{WorkflowExecutionsPreview-d2F04pj8.js → WorkflowExecutionsPreview-CfUWIIgy.js} +39 -71
  108. package/dist/assets/{WorkflowExecutionsView-C6EMZ-AQ.css → WorkflowExecutionsView-CFOgmzpK.css} +18 -74
  109. package/dist/assets/{WorkflowExecutionsView-CHr4rzKW.js → WorkflowExecutionsView-DrfZ7QK8.js} +151 -165
  110. package/dist/assets/{WorkflowHistory-C-lUH0fo.css → WorkflowHistory-D0ufvWsH.css} +14 -57
  111. package/dist/assets/{WorkflowHistory-BSijDFcx.js → WorkflowHistory-eqsh1yXn.js} +16 -29
  112. package/dist/assets/{WorkflowOnboardingView-CvuowIe6.js → WorkflowOnboardingView-Kbe8c2_R.js} +22 -5
  113. package/dist/assets/{WorkflowPreview-CYf78I6t.js → WorkflowPreview-DKTyMYfO.js} +5 -11
  114. package/dist/assets/{WorkflowPreview-Bpiv2_RO.css → WorkflowPreview-DuLM6rtd.css} +4 -15
  115. package/dist/assets/{WorkflowsView-Bc1WW7-8.js → WorkflowsView-ClrcrpKc.js} +110 -120
  116. package/dist/assets/WorkflowsView-D5fBzfD4.css +65 -0
  117. package/dist/assets/{index-D50gpyk6.css → index-Bo70cRA3.css} +350 -1351
  118. package/dist/assets/{index-D57HUAs6.js → index-fCEqBD8K.js} +45117 -40863
  119. package/dist/assets/polyfills-BN5TIqPj.js +5985 -0
  120. package/dist/assets/{pushConnection.store-BrFt2YWH.js → pushConnection.store-Kmly9nV5.js} +2 -3
  121. package/dist/assets/{templateActions-BrLvM4wQ.js → templateActions-xeWyRgrU.js} +1 -1
  122. package/dist/assets/{testDefinition.store.ee-DJ6gErZh.js → testDefinition.store.ee-C9BPbACc.js} +1 -1
  123. package/dist/assets/{useBugReporting-v6zXxGxR.js → useBugReporting-CbgIVUCL.js} +1 -1
  124. package/dist/assets/{useExecutionDebugging-Dhwr-oW3.js → useExecutionDebugging-Cuf88DQE.js} +3 -6
  125. package/dist/assets/{useExecutionHelpers-Ovym9OwA.js → useExecutionHelpers-BIxUwlsh.js} +3 -4
  126. package/dist/assets/{useGlobalEntityCreation-D_NS7_je.js → useGlobalEntityCreation-DGVSN-Im.js} +29 -14
  127. package/dist/assets/{useNodeViewVersionSwitcher-ESq0kPP5.js → useNodeViewVersionSwitcher-Eg-dOWbq.js} +1 -1
  128. package/dist/assets/{usePushConnection-DCkWEVa2.js → usePushConnection-D-iAKJiL.js} +36 -22
  129. package/dist/assets/{useRunWorkflow-B_S0x25z.css → useRunWorkflow-BDl-2MsN.css} +24 -106
  130. package/dist/assets/{useRunWorkflow-g1Tw1vWo.js → useRunWorkflow-BXE6bWp2.js} +1547 -1581
  131. package/dist/assets/{useWorkflowActivate-DibPO-sA.js → useWorkflowActivate-D8cU5eJ_.js} +1 -1
  132. package/dist/index.html +4 -2
  133. package/package.json +1 -1
  134. package/tsconfig.json +2 -1
  135. package/vite.config.mts +11 -0
  136. package/dist/assets/CollectionParameter-D7-YFFFP.js +0 -4
  137. package/dist/assets/CredentialsView-ChjCCSbV.css +0 -56
  138. package/dist/assets/ErrorView-Dzof6SY8.css +0 -35
  139. package/dist/assets/FileSaver.min-BsJSdQo9.js +0 -74
  140. package/dist/assets/ProjectHeader-CTK_rV3h.css +0 -28
  141. package/dist/assets/RunDataJsonActions-CUYH2C-z.js +0 -5509
  142. package/dist/assets/SettingsExternalSecrets-BD5PuMIG.css +0 -50
  143. package/dist/assets/SettingsLdapView-CDm8JWNK.js +0 -2417
  144. package/dist/assets/SettingsLogStreamingView-CWIuI89G.css +0 -75
  145. package/dist/assets/SetupWorkflowFromTemplateView-CvsDVBkh.css +0 -44
  146. package/dist/assets/VirtualSchema-DFybirEh.js +0 -1863
  147. package/dist/assets/WorkerView-C_d54L0W.css +0 -181
  148. package/dist/assets/WorkflowExecutionsLandingPage-B1zCnzh_.css +0 -39
  149. package/dist/assets/WorkflowsView-C1eCTa1K.css +0 -82
  150. /package/dist/assets/{ProjectCardBadge-DPUG4BoB.css → ProjectCardBadge-DQvW5T7s.css} +0 -0
  151. /package/dist/assets/{SettingsUsersView-Ba9S2o-I.css → SettingsUsersView-C13eCMjh.css} +0 -0
@@ -23,15 +23,11 @@
23
23
  }._container_11adc_1 {
24
24
  height: 100%;
25
25
  width: 100%;
26
- display: -webkit-box;
27
- display: -ms-flexbox;
28
26
  display: flex;
29
27
  overflow: hidden;
30
28
  }
31
29
  ._contentContainer_11adc_8 {
32
- -webkit-box-pack: center;
33
- -ms-flex-pack: center;
34
- justify-content: center;
30
+ justify-content: center;
35
31
  padding-top: 70.5px;
36
32
  height: 100%;
37
33
  overflow: auto;
@@ -1,9 +1,8 @@
1
- import { d as defineComponent, av as usePostHog, p as useSettingsStore, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, r as ref, cE as reactive, c as openBlock, e as createBlock, g as useI18n, iu as MORE_ONBOARDING_OPTIONS_EXPERIMENT, V as VIEWS } from "./index-D57HUAs6.js";
2
- import { A as AuthView } from "./AuthView-BhrVKHQb.js";
1
+ import { d as defineComponent, p as useSettingsStore, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, r as ref, e1 as reactive, c as openBlock, e as createBlock, g as useI18n, V as VIEWS } from "./index-fCEqBD8K.js";
2
+ import { A as AuthView } from "./AuthView-xWm2P-0B.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "SetupView",
5
5
  setup(__props) {
6
- const posthogStore = usePostHog();
7
6
  const settingsStore = useSettingsStore();
8
7
  const uiStore = useUIStore();
9
8
  const usersStore = useUsersStore();
@@ -70,7 +69,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
69
  const onSubmit = async (values) => {
71
70
  try {
72
71
  const forceRedirectedHere = settingsStore.showSetupPage;
73
- const isPartOfOnboardingExperiment = posthogStore.getVariant(MORE_ONBOARDING_OPTIONS_EXPERIMENT.name) === MORE_ONBOARDING_OPTIONS_EXPERIMENT.variant;
74
72
  loading.value = true;
75
73
  await usersStore.createOwner(
76
74
  values
@@ -82,11 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
82
80
  }
83
81
  }
84
82
  if (forceRedirectedHere) {
85
- if (isPartOfOnboardingExperiment) {
86
- await router.push({ name: VIEWS.WORKFLOWS });
87
- } else {
88
- await router.push({ name: VIEWS.HOMEPAGE });
89
- }
83
+ await router.push({ name: VIEWS.HOMEPAGE });
90
84
  } else {
91
85
  await router.push({ name: VIEWS.USERS_SETTINGS });
92
86
  }
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, T as useWorkflowsStore, bk as useNodeTypesStore, K as useUIStore, av as usePostHog, q as computed, jG as doesNodeHaveAllCredentialsFilled, iE as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, H as watch, x as onBeforeUnmount, jH as SETUP_CREDENTIALS_MODAL_KEY, m as resolveComponent, c as openBlock, e as createBlock, l as unref, f as createCommentVNode, g as useI18n } from "./index-D57HUAs6.js";
1
+ import { d as defineComponent, T as useWorkflowsStore, bk as useNodeTypesStore, K as useUIStore, av as usePostHog, q as computed, ix as doesNodeHaveAllCredentialsFilled, hm as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, H as watch, x as onBeforeUnmount, iy as SETUP_CREDENTIALS_MODAL_KEY, m as resolveComponent, c as openBlock, e as createBlock, l as unref, f as createCommentVNode, g as useI18n } from "./index-fCEqBD8K.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "SetupWorkflowCredentialsButton",
4
4
  setup(__props) {
@@ -8,8 +8,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  const posthogStore = usePostHog();
9
9
  const i18n = useI18n();
10
10
  const isTemplateSetupCompleted = computed(() => {
11
- var _a, _b;
12
- return !!((_b = (_a = workflowsStore.workflow) == null ? void 0 : _a.meta) == null ? void 0 : _b.templateCredsSetupCompleted);
11
+ return !!workflowsStore.workflow?.meta?.templateCredsSetupCompleted;
13
12
  });
14
13
  const allCredentialsFilled = computed(() => {
15
14
  if (isTemplateSetupCompleted.value) {
@@ -22,9 +21,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
21
  return nodes.every((node) => doesNodeHaveAllCredentialsFilled(nodeTypesStore, node));
23
22
  });
24
23
  const showButton = computed(() => {
25
- var _a, _b;
26
24
  const isFeatureEnabled = posthogStore.isFeatureEnabled(TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT);
27
- const isCreatedFromTemplate = !!((_b = (_a = workflowsStore.workflow) == null ? void 0 : _a.meta) == null ? void 0 : _b.templateId);
25
+ const isCreatedFromTemplate = !!workflowsStore.workflow?.meta?.templateId;
28
26
  if (!isFeatureEnabled || !isCreatedFromTemplate || isTemplateSetupCompleted.value) {
29
27
  return false;
30
28
  }
@@ -1,6 +1,6 @@
1
- import { R as defineStore, r as ref, aL as useTemplatesStore, bk as useNodeTypesStore, dX as useCredentialsStore, Z as useRootStore, T as useWorkflowsStore, q as computed, iD as useCredentialSetupState, V as VIEWS, gE as tryToParseNumber, aP as useExternalHooks, ak as useTelemetry, d as defineComponent, av as usePostHog, U as useRoute, b as useRouter, H as watch, ax as onBeforeMount, iE as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, o as onMounted, c as openBlock, e as createBlock, w as withCtx, l as unref, iF as N8nHeading, k as createTextVNode, t as toDisplayString, j as createBaseVNode, n as normalizeClass, iG as AppsRequiringCredsNotice, h as createElementBlock, F as Fragment, A as renderList, iH as SetupTemplateFormStep, i as createVNode, en as N8nLink, g as useI18n, m as resolveComponent, _ as _export_sfc } from "./index-D57HUAs6.js";
2
- import { c as createWorkflowFromTemplate } from "./templateActions-BrLvM4wQ.js";
3
- import { T as TemplatesView } from "./TemplatesView-BnpZqzSI.js";
1
+ import { R as defineStore, r as ref, aL as useTemplatesStore, bk as useNodeTypesStore, bZ as useCredentialsStore, Z as useRootStore, T as useWorkflowsStore, q as computed, hl as useCredentialSetupState, V as VIEWS, fa as tryToParseNumber, aP as useExternalHooks, ak as useTelemetry, d as defineComponent, av as usePostHog, U as useRoute, b as useRouter, H as watch, ax as onBeforeMount, hm as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, o as onMounted, c as openBlock, e as createBlock, w as withCtx, l as unref, hn as N8nHeading, k as createTextVNode, t as toDisplayString, j as createBaseVNode, n as normalizeClass, ho as AppsRequiringCredsNotice, h as createElementBlock, F as Fragment, A as renderList, hp as SetupTemplateFormStep, i as createVNode, cM as N8nLink, g as useI18n, m as resolveComponent, _ as _export_sfc } from "./index-fCEqBD8K.js";
2
+ import { c as createWorkflowFromTemplate } from "./templateActions-xeWyRgrU.js";
3
+ import { T as TemplatesView } from "./TemplatesView-Srd2qTc6.js";
4
4
  const useSetupTemplateStore = defineStore("setupTemplate", () => {
5
5
  const templateId = ref("");
6
6
  const isLoading = ref(true);
@@ -14,8 +14,7 @@ const useSetupTemplateStore = defineStore("setupTemplate", () => {
14
14
  return templateId.value ? templatesStore.getFullTemplateById(templateId.value) : null;
15
15
  });
16
16
  const templateNodes = computed(() => {
17
- var _a;
18
- return ((_a = template.value) == null ? void 0 : _a.workflow.nodes) ?? [];
17
+ return template.value?.workflow.nodes ?? [];
19
18
  });
20
19
  const {
21
20
  appCredentials,
@@ -168,10 +167,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
168
167
  const templateId = computed(
169
168
  () => Array.isArray(route.params.id) ? route.params.id[0] : route.params.id
170
169
  );
171
- const title = computed(() => {
172
- var _a;
173
- return ((_a = setupTemplateStore.template) == null ? void 0 : _a.name) ?? "unknown";
174
- });
170
+ const title = computed(() => setupTemplateStore.template?.name ?? "unknown");
175
171
  const isReady = computed(() => !setupTemplateStore.isLoading);
176
172
  const skipSetupUrl = computed(() => {
177
173
  const resolvedRoute = router.resolve({
@@ -0,0 +1,26 @@
1
+ ._grid_6bgsx_1 {
2
+ margin: 0 auto;
3
+ display: flex;
4
+ flex-direction: column;
5
+ justify-content: center;
6
+ max-width: 768px;
7
+ }
8
+ ._notice_6bgsx_9 {
9
+ margin-bottom: var(--spacing-2xl);
10
+ }
11
+ ._appCredentialsContainer_6bgsx_13 {
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: var(--spacing-2xl);
15
+ }
16
+ ._appCredential_6bgsx_13:not(:last-of-type) {
17
+ padding-bottom: var(--spacing-2xl);
18
+ border-bottom: 1px solid var(--color-foreground-light);
19
+ }
20
+ ._actions_6bgsx_24 {
21
+ display: flex;
22
+ justify-content: space-between;
23
+ align-items: center;
24
+ margin-top: var(--spacing-3xl);
25
+ margin-bottom: var(--spacing-3xl);
26
+ }
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, r as ref, iv as toRefs, o as onMounted, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, n as normalizeClass, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, e as createBlock, f as createCommentVNode, g as useI18n, iw as MFA_FORM, m as resolveComponent, ix as mfaEventBus, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, iy as MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH, _ as _export_sfc, u as useUsersStore, p as useSettingsStore, aH as useCloudPlanStore, U as useRoute, b as useRouter, a as useToast, q as computed, cE as reactive, V as VIEWS, iz as MFA_AUTHENTICATION_REQUIRED_ERROR_CODE, ak as useTelemetry } from "./index-D57HUAs6.js";
2
- import { L as Logo, A as AuthView } from "./AuthView-BhrVKHQb.js";
1
+ import { d as defineComponent, r as ref, hd as toRefs, o as onMounted, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, n as normalizeClass, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, e as createBlock, f as createCommentVNode, g as useI18n, he as MFA_FORM, m as resolveComponent, hf as mfaEventBus, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, hg as MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH, _ as _export_sfc, u as useUsersStore, p as useSettingsStore, aH as useCloudPlanStore, U as useRoute, b as useRouter, a as useToast, q as computed, e1 as reactive, V as VIEWS, hh as MFA_AUTHENTICATION_REQUIRED_ERROR_CODE, ak as useTelemetry } from "./index-fCEqBD8K.js";
2
+ import { L as Logo, A as AuthView } from "./AuthView-xWm2P-0B.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "MfaView",
5
5
  props: {
@@ -285,10 +285,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
285
285
  return redirect.startsWith("/") || redirect.startsWith(window.location.origin);
286
286
  };
287
287
  const getRedirectQueryParameter = () => {
288
- var _a, _b;
289
288
  let redirect = "";
290
- if (typeof ((_a = route.query) == null ? void 0 : _a.redirect) === "string") {
291
- redirect = decodeURIComponent((_b = route.query) == null ? void 0 : _b.redirect);
289
+ if (typeof route.query?.redirect === "string") {
290
+ redirect = decodeURIComponent(route.query?.redirect);
292
291
  }
293
292
  return redirect;
294
293
  };
@@ -2,16 +2,9 @@ body {
2
2
  background-color: var(--color-background-light);
3
3
  }
4
4
  ._container_1mdjt_5 {
5
- display: -webkit-box;
6
- display: -ms-flexbox;
7
5
  display: flex;
8
- -webkit-box-align: center;
9
- -ms-flex-align: center;
10
- align-items: center;
11
- -webkit-box-orient: vertical;
12
- -webkit-box-direction: normal;
13
- -ms-flex-direction: column;
14
- flex-direction: column;
6
+ align-items: center;
7
+ flex-direction: column;
15
8
  padding-top: var(--spacing-2xl);
16
9
  }
17
10
  ._container_1mdjt_5 > * {
@@ -19,12 +12,8 @@ body {
19
12
  width: 352px;
20
13
  }
21
14
  ._logoContainer_1mdjt_16 {
22
- display: -webkit-box;
23
- display: -ms-flexbox;
24
15
  display: flex;
25
- -webkit-box-pack: center;
26
- -ms-flex-pack: center;
27
- justify-content: center;
16
+ justify-content: center;
28
17
  }
29
18
  ._formContainer_1mdjt_21 {
30
19
  padding-bottom: var(--spacing-xl);
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, o as onMounted, c as openBlock, h as createElementBlock, V as VIEWS, g as useI18n } from "./index-D57HUAs6.js";
1
+ import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, o as onMounted, c as openBlock, h as createElementBlock, V as VIEWS, g as useI18n } from "./index-fCEqBD8K.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "SignoutView",
4
4
  setup(__props) {
@@ -1,5 +1,5 @@
1
- import { A as AuthView } from "./AuthView-BhrVKHQb.js";
2
- import { d as defineComponent, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, U as useRoute, r as ref, q as computed, o as onMounted, V as VIEWS, c as openBlock, e as createBlock, g as useI18n } from "./index-D57HUAs6.js";
1
+ import { A as AuthView } from "./AuthView-xWm2P-0B.js";
2
+ import { d as defineComponent, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, U as useRoute, r as ref, q as computed, o as onMounted, V as VIEWS, c as openBlock, e as createBlock, g as useI18n } from "./index-fCEqBD8K.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "SignupView",
5
5
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, n as normalizeClass, s as renderSlot, m as resolveComponent, _ as _export_sfc, b as useRouter, aL as useTemplatesStore, e as createBlock, F as Fragment, A as renderList, dx as _sfc_main$2, l as unref, iA as filterTemplateNodes, f as createCommentVNode, iB as _sfc_main$3, iC as abbreviateNumber, g as useI18n } from "./index-D57HUAs6.js";
1
+ import { d as defineComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, n as normalizeClass, s as renderSlot, m as resolveComponent, _ as _export_sfc, b as useRouter, aL as useTemplatesStore, e as createBlock, F as Fragment, A as renderList, bz as _sfc_main$2, l as unref, hi as filterTemplateNodes, f as createCommentVNode, hj as _sfc_main$3, hk as abbreviateNumber, g as useI18n } from "./index-fCEqBD8K.js";
2
2
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3
3
  __name: "TemplateDetailsBlock",
4
4
  props: {
@@ -8,11 +8,8 @@
8
8
  ._content_czs8t_10 {
9
9
  padding: var(--spacing-xs) 0 0;
10
10
  }._icons_1yw74_1 {
11
- display: -webkit-box;
12
- display: -ms-flexbox;
13
11
  display: flex;
14
- -ms-flex-wrap: wrap;
15
- flex-wrap: wrap;
12
+ flex-wrap: wrap;
16
13
  }
17
14
  ._icon_1yw74_1 {
18
15
  margin-right: var(--spacing-xs);
@@ -1,18 +1,9 @@
1
1
  ._list_10uzg_1 {
2
2
  max-width: 100px;
3
- display: -webkit-box;
4
- display: -ms-flexbox;
5
3
  display: flex;
6
- -webkit-box-orient: horizontal;
7
- -webkit-box-direction: normal;
8
- -ms-flex-direction: row;
9
- flex-direction: row;
10
- -webkit-box-pack: end;
11
- -ms-flex-pack: end;
12
- justify-content: flex-end;
13
- -webkit-box-align: center;
14
- -ms-flex-align: center;
15
- align-items: center;
4
+ flex-direction: row;
5
+ justify-content: flex-end;
6
+ align-items: center;
16
7
  }
17
8
  ._container_10uzg_9 {
18
9
  position: relative;
@@ -27,15 +18,9 @@
27
18
  ._button_10uzg_22 {
28
19
  top: 0px;
29
20
  position: relative;
30
- display: -webkit-box;
31
- display: -ms-flexbox;
32
21
  display: flex;
33
- -webkit-box-pack: center;
34
- -ms-flex-pack: center;
35
- justify-content: center;
36
- -webkit-box-align: center;
37
- -ms-flex-align: center;
38
- align-items: center;
22
+ justify-content: center;
23
+ align-items: center;
39
24
  background: var(--color-background-light);
40
25
  border: 1px var(--color-foreground-base) solid;
41
26
  border-radius: var(--border-radius-base);
@@ -55,18 +40,10 @@
55
40
  min-width: 24px;
56
41
  height: 24px;
57
42
  }._nodes_psqnp_1 {
58
- display: -webkit-box;
59
- display: -ms-flexbox;
60
43
  display: flex;
61
- -webkit-box-pack: center;
62
- -ms-flex-pack: center;
63
- justify-content: center;
64
- -ms-flex-line-pack: center;
65
- align-content: center;
66
- -webkit-box-orient: horizontal;
67
- -webkit-box-direction: normal;
68
- -ms-flex-direction: row;
69
- flex-direction: row;
44
+ justify-content: center;
45
+ align-content: center;
46
+ flex-direction: row;
70
47
  }
71
48
  ._icon_psqnp_8 {
72
49
  margin-left: var(--spacing-xs);
@@ -77,12 +54,8 @@
77
54
  border-right: var(--border-base);
78
55
  border-bottom: var(--border-base);
79
56
  background-color: var(--color-background-xlight);
80
- display: -webkit-box;
81
- display: -ms-flexbox;
82
57
  display: flex;
83
- -webkit-box-align: center;
84
- -ms-flex-align: center;
85
- align-items: center;
58
+ align-items: center;
86
59
  padding: 0 var(--spacing-s) var(--spacing-s) var(--spacing-s);
87
60
  background-color: var(--color-background-xlight);
88
61
  cursor: pointer;
@@ -112,12 +85,8 @@
112
85
  border-bottom-left-radius: var(--border-radius-large);
113
86
  }
114
87
  ._content_psqnp_53 {
115
- display: -webkit-box;
116
- display: -ms-flexbox;
117
88
  display: flex;
118
- -webkit-box-align: center;
119
- -ms-flex-align: center;
120
- align-items: center;
89
+ align-items: center;
121
90
  }
122
91
  ._line_psqnp_58 {
123
92
  padding: 0 6px;
@@ -130,18 +99,10 @@
130
99
  }
131
100
  ._nodesContainer_psqnp_69 {
132
101
  min-width: 175px;
133
- display: -webkit-box;
134
- display: -ms-flexbox;
135
102
  display: flex;
136
- -webkit-box-pack: end;
137
- -ms-flex-pack: end;
138
- justify-content: flex-end;
139
- -webkit-box-align: center;
140
- -ms-flex-align: center;
141
- align-items: center;
142
- -webkit-box-flex: 1;
143
- -ms-flex-positive: 1;
144
- flex-grow: 1;
103
+ justify-content: flex-end;
104
+ align-items: center;
105
+ flex-grow: 1;
145
106
  }._header_1ivn7_1 {
146
107
  padding-bottom: var(--spacing-2xs);
147
108
  }
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, q as computed, c as openBlock, h as createElementBlock, F as Fragment, A as renderList, n as normalizeClass, i as createVNode, dx as _sfc_main$3, t as toDisplayString, f as createCommentVNode, iA as filterTemplateNodes, _ as _export_sfc, w as withCtx, k as createTextVNode, l as unref, iC as abbreviateNumber, iB as _sfc_main$4, e as createBlock, I as withModifiers, g as useI18n, m as resolveComponent, r as ref, o as onMounted, x as onBeforeUnmount, j as createBaseVNode } from "./index-D57HUAs6.js";
1
+ import { d as defineComponent, q as computed, c as openBlock, h as createElementBlock, F as Fragment, A as renderList, n as normalizeClass, i as createVNode, bz as _sfc_main$3, t as toDisplayString, f as createCommentVNode, hi as filterTemplateNodes, _ as _export_sfc, w as withCtx, k as createTextVNode, l as unref, hk as abbreviateNumber, hj as _sfc_main$4, e as createBlock, I as withModifiers, g as useI18n, m as resolveComponent, r as ref, o as onMounted, x as onBeforeUnmount, j as createBaseVNode } from "./index-fCEqBD8K.js";
2
2
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3
3
  __name: "NodeList",
4
4
  props: {
@@ -1,10 +1,6 @@
1
1
  ._wrapper_b0vqe_1 {
2
- display: -webkit-box;
3
- display: -ms-flexbox;
4
2
  display: flex;
5
- -webkit-box-pack: justify;
6
- -ms-flex-pack: justify;
7
- justify-content: space-between;
3
+ justify-content: space-between;
8
4
  }
9
5
  @media (max-width: 768px) {
10
6
  ._wrapper_b0vqe_1 {
@@ -1,8 +1,8 @@
1
- import { i as isFullTemplatesCollection, _ as __unplugin_components_1 } from "./TemplateDetails-BG8YmNsP.js";
2
- import { T as TemplateList } from "./TemplateList-CEljIT09.js";
3
- import { T as TemplatesView } from "./TemplatesView-BnpZqzSI.js";
4
- import { d as defineComponent, aL as useTemplatesStore, av as usePostHog, bk as useNodeTypesStore, U as useRoute, b as useRouter, a3 as useDocumentTitle, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, aO as createSlots, w as withCtx, j as createBaseVNode, n as normalizeClass, l as unref, h as createElementBlock, i as createVNode, f as createCommentVNode, k as createTextVNode, t as toDisplayString, g as useI18n, V as VIEWS, m as resolveComponent, aP as useExternalHooks, ak as useTelemetry, _ as _export_sfc } from "./index-D57HUAs6.js";
5
- import { u as useTemplateWorkflow } from "./templateActions-BrLvM4wQ.js";
1
+ import { i as isFullTemplatesCollection, _ as __unplugin_components_1 } from "./TemplateDetails-BZy8nHAa.js";
2
+ import { T as TemplateList } from "./TemplateList-DdYIfcdc.js";
3
+ import { T as TemplatesView } from "./TemplatesView-Srd2qTc6.js";
4
+ import { d as defineComponent, aL as useTemplatesStore, av as usePostHog, bk as useNodeTypesStore, U as useRoute, b as useRouter, a3 as useDocumentTitle, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, aO as createSlots, w as withCtx, j as createBaseVNode, n as normalizeClass, l as unref, h as createElementBlock, i as createVNode, f as createCommentVNode, k as createTextVNode, t as toDisplayString, g as useI18n, V as VIEWS, m as resolveComponent, aP as useExternalHooks, ak as useTelemetry, _ as _export_sfc } from "./index-fCEqBD8K.js";
5
+ import { u as useTemplateWorkflow } from "./templateActions-xeWyRgrU.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "TemplatesCollectionView",
8
8
  setup(__props) {
@@ -8,8 +8,7 @@
8
8
  margin-right: var(--spacing-5xs);
9
9
  }
10
10
  ._card_17xq8_1:hover {
11
- -webkit-box-shadow: 0 2px 4px rgba(68, 28, 23, 0.07);
12
- box-shadow: 0 2px 4px rgba(68, 28, 23, 0.07);
11
+ box-shadow: 0 2px 4px rgba(68, 28, 23, 0.07);
13
12
  }
14
13
  ._card_17xq8_1 > div {
15
14
  height: 100%;
@@ -144,7 +143,6 @@
144
143
  }
145
144
  ._leftButton_1lokv_26:after {
146
145
  left: 27px;
147
- background: -webkit-gradient(linear, right top, left top, from(hsla(var(--color-background-light-h), var(--color-background-light-s), var(--color-background-light-l), 50%)), to(hsla(var(--color-background-light-h), var(--color-background-light-s), var(--color-background-light-l), 100%)));
148
146
  background: linear-gradient(270deg, hsla(var(--color-background-light-h), var(--color-background-light-s), var(--color-background-light-l), 50%), hsla(var(--color-background-light-h), var(--color-background-light-s), var(--color-background-light-l), 100%));
149
147
  }
150
148
  ._rightButton_1lokv_35 {
@@ -152,13 +150,11 @@
152
150
  }
153
151
  ._rightButton_1lokv_35:after {
154
152
  right: 27px;
155
- background: -webkit-gradient(linear, left top, right top, from(hsla(var(--color-background-light-h), var(--color-background-light-s), var(--color-background-light-l), 50%)), to(hsla(var(--color-background-light-h), var(--color-background-light-s), var(--color-background-light-l), 100%)));
156
153
  background: linear-gradient(90deg, hsla(var(--color-background-light-h), var(--color-background-light-s), var(--color-background-light-l), 50%), hsla(var(--color-background-light-h), var(--color-background-light-s), var(--color-background-light-l), 100%));
157
154
  }.agile__list {
158
155
  width: 100%;
159
156
  padding-bottom: var(--spacing-2xs);
160
157
  overflow-x: auto;
161
- -webkit-transition: all 1s ease-in-out;
162
158
  transition: all 1s ease-in-out;
163
159
  }
164
160
  .agile__track {
@@ -181,8 +177,6 @@
181
177
  padding-top: var(--spacing-2xs);
182
178
  cursor: pointer;
183
179
  }.template-filters .el-checkbox {
184
- display: -webkit-box;
185
- display: -ms-flexbox;
186
180
  display: flex;
187
181
  white-space: unset;
188
182
  }
@@ -194,27 +188,16 @@
194
188
  color: var(--color-text-dark);
195
189
  padding-left: var(--spacing-2xs);
196
190
  }._wrapper_1el39_1 {
197
- display: -webkit-box;
198
- display: -ms-flexbox;
199
191
  display: flex;
200
- -webkit-box-pack: justify;
201
- -ms-flex-pack: justify;
202
- justify-content: space-between;
192
+ justify-content: space-between;
203
193
  }
204
194
  ._contentWrapper_1el39_6 {
205
- display: -webkit-box;
206
- display: -ms-flexbox;
207
195
  display: flex;
208
- -webkit-box-pack: justify;
209
- -ms-flex-pack: justify;
210
- justify-content: space-between;
196
+ justify-content: space-between;
211
197
  }
212
198
  @media (max-width: 768px) {
213
199
  ._contentWrapper_1el39_6 {
214
- -webkit-box-orient: vertical;
215
- -webkit-box-direction: normal;
216
- -ms-flex-direction: column;
217
- flex-direction: column;
200
+ flex-direction: column;
218
201
  }
219
202
  }
220
203
  ._filters_1el39_16 {
@@ -1,19 +1,6 @@
1
- import { iL as baseOrderBy, iM as isArray, d as defineComponent, c as openBlock, e as createBlock, aO as createSlots, w as withCtx, j as createBaseVNode, n as normalizeClass, t as toDisplayString, s as renderSlot, i as createVNode, aX as mergeProps, m as resolveComponent, _ as _export_sfc, ay as withDirectives, az as vShow, k as createTextVNode, l as unref, B as normalizeStyle, g as useI18n, iN as throttle, h as createElementBlock, f as createCommentVNode, F as Fragment, A as renderList, r as ref, H as watch, o as onMounted, y as nextTick, ax as onBeforeMount, q as computed, J as useDebounce, a as useToast, a3 as useDocumentTitle, p as useSettingsStore, aL as useTemplatesStore, u as useUsersStore, U as useRoute, b as useRouter, hL as onBeforeRouteLeave, iO as CREATOR_HUB_URL, V as VIEWS, cI as resolveDirective, ak as useTelemetry } from "./index-D57HUAs6.js";
2
- import { N as NodeList, T as TemplateList } from "./TemplateList-CEljIT09.js";
3
- import { T as TemplatesView } from "./TemplatesView-BnpZqzSI.js";
4
- function orderBy(collection, iteratees, orders, guard) {
5
- if (collection == null) {
6
- return [];
7
- }
8
- if (!isArray(iteratees)) {
9
- iteratees = iteratees == null ? [] : [iteratees];
10
- }
11
- orders = orders;
12
- if (!isArray(orders)) {
13
- orders = orders == null ? [] : [orders];
14
- }
15
- return baseOrderBy(collection, iteratees, orders);
16
- }
1
+ import { d as defineComponent, c as openBlock, e as createBlock, aO as createSlots, w as withCtx, j as createBaseVNode, n as normalizeClass, t as toDisplayString, s as renderSlot, i as createVNode, aX as mergeProps, m as resolveComponent, _ as _export_sfc, ay as withDirectives, az as vShow, k as createTextVNode, l as unref, B as normalizeStyle, g as useI18n, ht as orderBy, hu as throttle, h as createElementBlock, f as createCommentVNode, F as Fragment, A as renderList, r as ref, H as watch, o as onMounted, y as nextTick, ax as onBeforeMount, q as computed, J as useDebounce, a as useToast, a3 as useDocumentTitle, p as useSettingsStore, aL as useTemplatesStore, u as useUsersStore, U as useRoute, b as useRouter, gt as onBeforeRouteLeave, hv as CREATOR_HUB_URL, V as VIEWS, di as resolveDirective, ak as useTelemetry } from "./index-fCEqBD8K.js";
2
+ import { N as NodeList, T as TemplateList } from "./TemplateList-DdYIfcdc.js";
3
+ import { T as TemplatesView } from "./TemplatesView-Srd2qTc6.js";
17
4
  const _hoisted_1$3 = ["textContent"];
18
5
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
19
6
  __name: "CollectionWorkflowCard",
@@ -1370,18 +1357,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1370
1357
  void usersStore.showPersonalizationSurvey();
1371
1358
  restoreSearchFromRoute();
1372
1359
  setTimeout(() => {
1373
- var _a;
1374
- const scrollOffset = (_a = route.meta) == null ? void 0 : _a.scrollOffset;
1360
+ const scrollOffset = route.meta?.scrollOffset;
1375
1361
  if (typeof scrollOffset === "number" && scrollOffset > 0) {
1376
1362
  scrollTo(scrollOffset, "auto");
1377
1363
  }
1378
1364
  }, 100);
1379
1365
  });
1380
1366
  onBeforeRouteLeave((_to, _from, next) => {
1381
- var _a, _b;
1382
1367
  const contentArea = document.getElementById("content");
1383
1368
  if (contentArea) {
1384
- (_b = (_a = route.meta) == null ? void 0 : _a.setScrollPosition) == null ? void 0 : _b.call(_a, contentArea.scrollTop);
1369
+ route.meta?.setScrollPosition?.(contentArea.scrollTop);
1385
1370
  }
1386
1371
  trackSearch();
1387
1372
  next();
@@ -1,10 +1,6 @@
1
1
  ._wrapper_1g0gc_1 {
2
- display: -webkit-box;
3
- display: -ms-flexbox;
4
2
  display: flex;
5
- -webkit-box-align: center;
6
- -ms-flex-align: center;
7
- align-items: center;
3
+ align-items: center;
8
4
  cursor: pointer;
9
5
  }
10
6
  ._wrapper_1g0gc_1:hover ._icon_1g0gc_6,
@@ -21,15 +17,11 @@
21
17
  line-height: var(--font-line-height-loose);
22
18
  color: var(--color-text-base);
23
19
  }._template_1s724_1 {
24
- display: -webkit-box;
25
- display: -ms-flexbox;
26
20
  display: flex;
27
21
  width: 100%;
28
22
  max-width: var(--content-container-width);
29
23
  padding: var(--spacing-l) var(--spacing-l) 0;
30
- -webkit-box-pack: center;
31
- -ms-flex-pack: center;
32
- justify-content: center;
24
+ justify-content: center;
33
25
  }
34
26
  @media (min-width: 1200px) {
35
27
  ._template_1s724_1 {
@@ -40,13 +32,8 @@
40
32
  width: 100%;
41
33
  }
42
34
  ._header_1s724_18 {
43
- display: -webkit-box;
44
- display: -ms-flexbox;
45
35
  display: flex;
46
- -webkit-box-orient: vertical;
47
- -webkit-box-direction: normal;
48
- -ms-flex-direction: column;
49
- flex-direction: column;
36
+ flex-direction: column;
50
37
  margin-bottom: var(--spacing-2xl);
51
38
  }
52
39
  ._goBack_1s724_24 {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, b as useRouter, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, j as createBaseVNode, t as toDisplayString, l as unref, g as useI18n, V as VIEWS, m as resolveComponent, _ as _export_sfc, f as createCommentVNode, s as renderSlot } from "./index-D57HUAs6.js";
1
+ import { d as defineComponent, b as useRouter, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, j as createBaseVNode, t as toDisplayString, l as unref, g as useI18n, V as VIEWS, m as resolveComponent, _ as _export_sfc, f as createCommentVNode, s as renderSlot } from "./index-fCEqBD8K.js";
2
2
  const _hoisted_1 = ["textContent"];
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "GoBackButton",