n8n-editor-ui 1.65.1 → 1.67.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 (104) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B4V5qQ9q.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbabN_I2.js} +2 -2
  2. package/dist/assets/{AuthView-DDTsGVDI.js → AuthView-DmC24d7S.js} +17 -19
  3. package/dist/assets/{CanvasControls-BrmZza76.js → CanvasControls-BPXQqeeO.js} +1 -1
  4. package/dist/assets/{ChangePasswordView-Txc3JLbg.js → ChangePasswordView-SC3n2vJc.js} +2 -2
  5. package/dist/assets/CollectionParameter-Odk28FRT.js +4 -0
  6. package/dist/assets/{CredentialsView-4YDBK-zY.js → CredentialsView-B3m9CpEC.js} +14 -11
  7. package/dist/assets/{ErrorView-CeJF1j4H.js → ErrorView-D6M8WlVP.js} +1 -1
  8. package/dist/assets/{ExecutionsFilter-BecTg03r.css → ExecutionsFilter-DVxRt-Pz.css} +6 -6
  9. package/dist/assets/{ExecutionsFilter-ODySTrFf.js → ExecutionsFilter-DlZH8tDW.js} +5 -5
  10. package/dist/assets/{ExecutionsView-Cfc2bklt.js → ExecutionsView-DaHtYmF4.js} +4 -4
  11. package/dist/assets/{FileSaver.min-2E3H7obf.js → FileSaver.min-DNytcjKT.js} +1 -1
  12. package/dist/assets/FixedCollectionParameter-CypxYAFK.js +334 -0
  13. package/dist/assets/{FixedCollectionParameter-fI2wTyfY.css → FixedCollectionParameter-DzOGMEdq.css} +10 -10
  14. package/dist/assets/{ForgotMyPasswordView-DY9dxNXM.js → ForgotMyPasswordView-BJ6gd5CS.js} +4 -3
  15. package/dist/assets/{MainHeader-Bc5G9_Uq.css → MainHeader-D56WYRMG.css} +9 -9
  16. package/dist/assets/{MainHeader-2746Uag0.js → MainHeader-DniXcGMK.js} +92 -98
  17. package/dist/assets/{MainSidebar-cNW0UJBC.css → MainSidebar-BRYJRpOA.css} +2 -2
  18. package/dist/assets/{MainSidebar-Deuxu_ZA.js → MainSidebar-NwOfijmV.js} +7 -6
  19. package/dist/assets/{NodeCreation-C2dcJSCB.js → NodeCreation-Ce1ct2i3.js} +6 -6
  20. package/dist/assets/{NodeCreator-DFg5sW0J.css → NodeCreator-CvOLgSO_.css} +4 -4
  21. package/dist/assets/{NodeCreator-DbLN5EpO.js → NodeCreator-DMLTbzAt.js} +38 -25
  22. package/dist/assets/{NodeViewSwitcher-C7fT1hjp.js → NodeViewSwitcher-B9JUn3eY.js} +448 -332
  23. package/dist/assets/{NodeViewSwitcher-Np-f2Pkl.css → NodeViewSwitcher-CnP5aYyg.css} +138 -138
  24. package/dist/assets/{ProjectCardBadge.vue_vue_type_script_setup_true_lang-1r16lWfz.js → ProjectCardBadge-C3QU-WmO.js} +63 -30
  25. package/dist/assets/ProjectCardBadge-DPUG4BoB.css +20 -0
  26. package/dist/assets/{ProjectSettings-B-0hlVBb.js → ProjectSettings-BvcEg3hx.js} +35 -6
  27. package/dist/assets/{ProjectTabs-BLgXz0GM.js → ProjectTabs-Dve3xFj9.js} +1 -1
  28. package/dist/assets/PushConnectionTracker.vue_vue_type_script_setup_true_lang-DlJOpf7N.js +39 -0
  29. package/dist/assets/ResourceListHeader-B2sxe6HT.js +66 -0
  30. package/dist/assets/ResourceListHeader-DgE1VPUF.css +19 -0
  31. package/dist/assets/ResourcesListLayout-Bc4__nvw.js +692 -0
  32. package/dist/assets/{ResourcesListLayout-DAvOygN7.css → ResourcesListLayout-Ci-K1bH3.css} +17 -12
  33. package/dist/assets/{RunDataAi-DWyv1KtV.js → RunDataAi-BKu1beM6.js} +45 -43
  34. package/dist/assets/{RunDataJson-BkOB7Mi5.js → RunDataJson-ea5u1EeD.js} +12 -12
  35. package/dist/assets/{RunDataJsonActions-K_wfkbT2.js → RunDataJsonActions-Dflnt8gK.js} +127 -159
  36. package/dist/assets/{RunDataSearch-CdIFsfvp.js → RunDataSearch-DKNVmEqa.js} +1 -1
  37. package/dist/assets/{RunDataTable-CSd24Wzt.js → RunDataTable-DISLWxMc.js} +1 -1
  38. package/dist/assets/{SamlOnboarding-C7jmImZi.js → SamlOnboarding-CPvGRYUg.js} +2 -2
  39. package/dist/assets/SettingsApiView-BFj9fDL9.js +227 -0
  40. package/dist/assets/{SettingsCommunityNodesView-QbJKukss.js → SettingsCommunityNodesView-nJFDrtIR.js} +185 -195
  41. package/dist/assets/{SettingsExternalSecrets-CBL5kSMf.js → SettingsExternalSecrets-0-mj45K-.js} +3 -3
  42. package/dist/assets/{SettingsLdapView-CHwYGxkx.js → SettingsLdapView-BhBxX72w.js} +3 -3
  43. package/dist/assets/SettingsLogStreamingView-CmEJrEOv.js +500 -0
  44. package/dist/assets/{SettingsPersonalView-BfL80wvU.js → SettingsPersonalView-C__lC8Vv.js} +1 -1
  45. package/dist/assets/{SettingsSourceControl-CrPjF7Tl.js → SettingsSourceControl-CMoS5B5P.js} +3 -3
  46. package/dist/assets/{SettingsSso-CoM-3Knf.js → SettingsSso-DJfrl1Rl.js} +3 -3
  47. package/dist/assets/{SettingsUsageAndPlan-BeHnYh3Q.js → SettingsUsageAndPlan-CWQ5uVrG.js} +7 -6
  48. package/dist/assets/{SettingsUsageAndPlan-C76Ty5yF.css → SettingsUsageAndPlan-vijI-va0.css} +3 -3
  49. package/dist/assets/{SettingsUsersView-KIj2fh50.js → SettingsUsersView-Cvr6Digb.js} +4 -3
  50. package/dist/assets/{SettingsView-Chfmh8Oz.js → SettingsView-DtGga45F.js} +2 -30
  51. package/dist/assets/{SetupView-Cj9NK5oF.js → SetupView-DkJH96By.js} +2 -2
  52. package/dist/assets/{SetupWorkflowCredentialsButton-1LXFp3M1.js → SetupWorkflowCredentialsButton-C1Jv_-V5.js} +1 -1
  53. package/dist/assets/{SetupWorkflowFromTemplateView-nyPe7OpV.js → SetupWorkflowFromTemplateView-WSzVMgC4.js} +3 -3
  54. package/dist/assets/{SigninView-TCarjEXK.js → SigninView-xej8y-Vu.js} +4 -3
  55. package/dist/assets/{SignoutView-Delor5Ax.js → SignoutView-Dc8fBBIm.js} +1 -1
  56. package/dist/assets/{SignupView-DOREfT5l.js → SignupView-CKA28Xc8.js} +4 -3
  57. package/dist/assets/TemplateDetails-Pi49rFlS.js +179 -0
  58. package/dist/assets/TemplateList-BncQL783.js +371 -0
  59. package/dist/assets/{TemplatesCollectionView-DtaG85Jk.js → TemplatesCollectionView-C9PKPo5y.js} +8 -8
  60. package/dist/assets/{TemplatesSearchView-CqH8oefx.js → TemplatesSearchView-65taIL-M.js} +530 -577
  61. package/dist/assets/{TemplatesView-B9Lz_EzK.js → TemplatesView-DkP9JWHk.js} +32 -37
  62. package/dist/assets/{TemplatesWorkflowView-BfqaXGKg.js → TemplatesWorkflowView-B5uc0BtL.js} +5 -5
  63. package/dist/assets/{VariablesView-CHXdt5-z.css → VariablesView-BPKo50HJ.css} +18 -18
  64. package/dist/assets/{VariablesView-BH0opxm_.js → VariablesView-DV1-KgmN.js} +6 -4
  65. package/dist/assets/WorkerView-5P9lg6ew.js +148 -0
  66. package/dist/assets/WorkerView-Dm0b18Mh.css +22 -0
  67. package/dist/assets/{WorkflowActivator-u3HKoT5w.css → WorkflowActivator-D8FiI2jP.css} +2 -2
  68. package/dist/assets/{WorkflowActivator-ByVmTkYU.js → WorkflowActivator-Dc_Un-Af.js} +15 -4
  69. package/dist/assets/{WorkflowExecutionsInfoAccordion-BqbBanz6.js → WorkflowExecutionsInfoAccordion-BLyC6lr5.js} +1 -1
  70. package/dist/assets/{WorkflowExecutionsLandingPage-5u6ZDaFD.js → WorkflowExecutionsLandingPage-Dsa6Bgkn.js} +2 -2
  71. package/dist/assets/{WorkflowExecutionsPreview-BGb9AU3g.js → WorkflowExecutionsPreview-B_X-enUV.js} +5 -5
  72. package/dist/assets/{WorkflowExecutionsView-KTlGfaLi.js → WorkflowExecutionsView-Bkz3Sig-.js} +5 -5
  73. package/dist/assets/{WorkflowHistory-DqXCxz1p.js → WorkflowHistory-BiPMooAv.js} +5 -4
  74. package/dist/assets/{WorkflowOnboardingView-Cx7hbCo8.js → WorkflowOnboardingView-XHuS6lCs.js} +1 -1
  75. package/dist/assets/{WorkflowPreview-BTF7OmQM.css → WorkflowPreview-Bpiv2_RO.css} +8 -8
  76. package/dist/assets/{WorkflowPreview-DAQ7mvNi.js → WorkflowPreview-DxZKd23H.js} +8 -8
  77. package/dist/assets/{WorkflowsView-ChU_EKMN.js → WorkflowsView-BBaLVqJs.js} +14 -12
  78. package/dist/assets/{dateFormatter-CfOgAO2k.js → dateFormatter-C53K7zEn.js} +1 -1
  79. package/dist/assets/{index-BUjeBzRM.js → index-7YFQEQmt.js} +36340 -36753
  80. package/dist/assets/{index-DoeC8czU.css → index-BFH_KxyA.css} +162 -130
  81. package/dist/assets/{pushConnection.store-BKOlrr3c.js → pushConnection.store-DbprXL-x.js} +1 -1
  82. package/dist/assets/{templateActions-BTYgtgDN.js → templateActions-QFQD8amJ.js} +1 -1
  83. package/dist/assets/{useBugReporting-lkBiyjPH.js → useBugReporting-IgwBNdXI.js} +1 -1
  84. package/dist/assets/{useExecutionDebugging-C91tSyen.js → useExecutionDebugging-CLORI_Ma.js} +5 -4
  85. package/dist/assets/{useNodeViewVersionSwitcher-D2zGsXPQ.js → useNodeViewVersionSwitcher-CJLQ5lju.js} +2 -2
  86. package/dist/assets/{usePushConnection-CQXTn-bO.js → usePushConnection-DjPgTuLw.js} +9 -10
  87. package/dist/assets/{useWorkflowActivate-DbL83lsy.js → useWorkflowActivate-D_gK841h.js} +1 -1
  88. package/dist/index.html +3 -2
  89. package/index.html +1 -0
  90. package/package.json +1 -1
  91. package/vite.config.mts +1 -17
  92. package/dist/assets/CollectionParameter-D35RQT1r.js +0 -4
  93. package/dist/assets/FixedCollectionParameter-D6dq95nm.js +0 -355
  94. package/dist/assets/PushConnectionTracker-CGjuGy8P.js +0 -38
  95. package/dist/assets/ResourcesListLayout-D_C1ZSTp.js +0 -765
  96. package/dist/assets/SettingsApiView-4M-cLSvs.js +0 -255
  97. package/dist/assets/SettingsFakeDoorView-CEbWEc6P.js +0 -44
  98. package/dist/assets/SettingsFakeDoorView-DpKZ4qWG.css +0 -14
  99. package/dist/assets/SettingsLogStreamingView-DZ71hi2g.js +0 -519
  100. package/dist/assets/TemplateDetails-rjxog6MY.js +0 -199
  101. package/dist/assets/TemplateList-DYMX_2qI.js +0 -433
  102. package/dist/assets/WorkerView-BRiI1Adt.js +0 -825
  103. package/dist/assets/WorkerView-C_d54L0W.css +0 -181
  104. package/dist/assets/cloud-CGOqFKZO.js +0 -37
@@ -1,5 +1,5 @@
1
- import { b as convertToDisplayDate } from "./dateFormatter-CfOgAO2k.js";
2
- import { g as useI18n, d as defineComponent, ib as useAnnotationTagsStore, K as useUIStore, p as computed, c as openBlock, e as createBlock, ic as ANNOTATION_TAGS_MANAGER_MODAL_KEY, id as _sfc_main$1 } from "./index-BUjeBzRM.js";
1
+ import { b as convertToDisplayDate } from "./dateFormatter-C53K7zEn.js";
2
+ import { g as useI18n, d as defineComponent, ig as useAnnotationTagsStore, K as useUIStore, p as computed, c as openBlock, e as createBlock, ih as ANNOTATION_TAGS_MANAGER_MODAL_KEY, ii as _sfc_main$1 } from "./index-7YFQEQmt.js";
3
3
  function useExecutionHelpers() {
4
4
  const i18n = useI18n();
5
5
  function getUIDetails(execution) {
@@ -1,31 +1,29 @@
1
- import { d as defineComponent, e0 as mapStores, K as useUIStore, Z as useRootStore, _ as _export_sfc, c as openBlock, h as createElementBlock, n as normalizeClass, hF as useSSOStore, a as useToast, l as resolveComponent, A as unref, j as createBaseVNode, t as toDisplayString, i as createVNode, f as createCommentVNode, g as useI18n, w as withCtx, k as createTextVNode, e as createBlock, bP as mergeProps } from "./index-BUjeBzRM.js";
2
- const _sfc_main$2 = defineComponent({
3
- computed: {
4
- ...mapStores(useRootStore, useUIStore),
5
- basePath() {
6
- return this.rootStore.baseUrl;
7
- },
8
- logoPath() {
9
- return this.basePath + this.uiStore.logo;
10
- }
1
+ import { d as defineComponent, Z as useRootStore, K as useUIStore, p as computed, c as openBlock, h as createElementBlock, n as normalizeClass, _ as _export_sfc, hK as useSSOStore, a as useToast, l as resolveComponent, A as unref, j as createBaseVNode, t as toDisplayString, i as createVNode, f as createCommentVNode, g as useI18n, w as withCtx, k as createTextVNode, e as createBlock, bQ as mergeProps } from "./index-7YFQEQmt.js";
2
+ const _hoisted_1 = ["src"];
3
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4
+ __name: "Logo",
5
+ setup(__props) {
6
+ const rootStore = useRootStore();
7
+ const uiStore = useUIStore();
8
+ const basePath = computed(() => rootStore.baseUrl);
9
+ const logoPath = computed(() => basePath.value + uiStore.logo);
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createElementBlock("img", {
12
+ src: logoPath.value,
13
+ class: normalizeClass(_ctx.$style.img),
14
+ alt: "n8n.io"
15
+ }, null, 10, _hoisted_1);
16
+ };
11
17
  }
12
18
  });
13
19
  const img = "_img_8137c_1";
14
20
  const style0$2 = {
15
21
  img
16
22
  };
17
- const _hoisted_1 = ["src"];
18
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
19
- return openBlock(), createElementBlock("img", {
20
- src: _ctx.logoPath,
21
- class: normalizeClass(_ctx.$style.img),
22
- alt: "n8n.io"
23
- }, null, 10, _hoisted_1);
24
- }
25
23
  const cssModules$2 = {
26
24
  "$style": style0$2
27
25
  };
28
- const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render], ["__cssModules", cssModules$2]]);
26
+ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$2]]);
29
27
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
30
28
  __name: "SSOLogin",
31
29
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, $ as useCanvasStore, ej as storeToRefs, es as useDeviceSupport, aq as onBeforeMount, y as onBeforeUnmount, l as resolveComponent, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, A as unref, g0 as KeyboardShortcutTooltip, e as createBlock, f as createCommentVNode, n as normalizeClass, _ as _export_sfc } from "./index-BUjeBzRM.js";
1
+ import { d as defineComponent, $ as useCanvasStore, eo as storeToRefs, ex as useDeviceSupport, ar as onBeforeMount, v as onBeforeUnmount, l as resolveComponent, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, A as unref, g5 as KeyboardShortcutTooltip, e as createBlock, f as createCommentVNode, n as normalizeClass, _ as _export_sfc } from "./index-7YFQEQmt.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "CanvasControls",
4
4
  setup(__props) {
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, M as MFA_AUTHENTICATION_TOKEN_INPUT_MAX_LENGTH, V as VIEWS, c as openBlock, e as createBlock, f as createCommentVNode, g as useI18n } from "./index-BUjeBzRM.js";
2
- import { A as AuthView } from "./AuthView-DDTsGVDI.js";
1
+ import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, M as MFA_AUTHENTICATION_TOKEN_INPUT_MAX_LENGTH, V as VIEWS, c as openBlock, e as createBlock, f as createCommentVNode, g as useI18n } from "./index-7YFQEQmt.js";
2
+ import { A as AuthView } from "./AuthView-DmC24d7S.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "ChangePasswordView",
5
5
  setup(__props) {
@@ -0,0 +1,4 @@
1
+ import { j5 as _sfc_main } from "./index-7YFQEQmt.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,7 +1,8 @@
1
- import { d as defineComponent, K as useUIStore, dt as useCredentialsStore, a1 as useProjectsStore, p as computed, al as getResourcePermissions, ie as dateformat, l as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, iY as CredentialIcon, n as normalizeClass, k as createTextVNode, t as toDisplayString, A as unref, f as createCommentVNode, j as createBaseVNode, I as withModifiers, iO as ResourceType, h as createElementBlock, ar as withDirectives, hW as _sfc_main$3, as as vShow, g as useI18n, ad as MODAL_CONFIRM, iP as PROJECT_MOVE_RESOURCE_MODAL, ak as useMessage, _ as _export_sfc, cZ as useNodeTypesStore, a0 as useSourceControlStore, g1 as useExternalSecretsStore, a3 as useDocumentTitle, U as useRoute, b as useRouter, r as ref, iZ as listenForModalChanges, H as watch, i_ as CREDENTIAL_SELECT_MODAL_KEY, o as onMounted, iQ as N8nButton, iU as N8nInputLabel, iV as N8nSelect, F as Fragment, z as renderList, iW as _sfc_main$4, m as useSettingsStore, a7 as EnterpriseEditionFeature, g3 as useEnvironmentsStore, aj as useTelemetry, i$ as CREDENTIAL_EDIT_MODAL_KEY } from "./index-BUjeBzRM.js";
2
- import { R as ResourcesListLayout } from "./ResourcesListLayout-D_C1ZSTp.js";
3
- import { _ as _sfc_main$2 } from "./ProjectCardBadge.vue_vue_type_script_setup_true_lang-1r16lWfz.js";
4
- import { P as ProjectTabs } from "./ProjectTabs-BLgXz0GM.js";
1
+ import { d as defineComponent, K as useUIStore, dy as useCredentialsStore, a1 as useProjectsStore, p as computed, am as getResourcePermissions, ij as dateformat, l as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, i$ as CredentialIcon, n as normalizeClass, k as createTextVNode, t as toDisplayString, A as unref, f as createCommentVNode, j as createBaseVNode, I as withModifiers, iT as ResourceType, h as createElementBlock, as as withDirectives, h$ as _sfc_main$2, at as vShow, g as useI18n, ae as MODAL_CONFIRM, iU as PROJECT_MOVE_RESOURCE_MODAL, al as useMessage, _ as _export_sfc, c_ as useNodeTypesStore, a0 as useSourceControlStore, g6 as useExternalSecretsStore, a3 as useDocumentTitle, U as useRoute, b as useRouter, r as ref, j0 as listenForModalChanges, H as watch, j1 as CREDENTIAL_SELECT_MODAL_KEY, o as onMounted, iV as N8nButton, iX as N8nInputLabel, iY as N8nSelect, F as Fragment, z as renderList, iZ as _sfc_main$3, m as useSettingsStore, a8 as EnterpriseEditionFeature, g8 as useEnvironmentsStore, ak as useTelemetry, j2 as CREDENTIAL_EDIT_MODAL_KEY } from "./index-7YFQEQmt.js";
2
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-Bc4__nvw.js";
3
+ import { P as ProjectCardBadge } from "./ProjectCardBadge-C3QU-WmO.js";
4
+ import { P as ProjectTabs } from "./ProjectTabs-Dve3xFj9.js";
5
+ import "./ResourceListHeader-B2sxe6HT.js";
5
6
  const _hoisted_1$1 = { key: 0 };
6
7
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
7
8
  __name: "CredentialCard",
@@ -151,7 +152,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
151
152
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
152
153
  }, ["stop"]))
153
154
  }, [
154
- createVNode(_sfc_main$2, {
155
+ createVNode(ProjectCardBadge, {
155
156
  resource: _ctx.data,
156
157
  "resource-type": unref(ResourceType).Credential,
157
158
  "resource-type-label": resourceTypeLabel.value,
@@ -177,7 +178,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
177
178
  credentialType.value ? (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(credentialType.value.displayName) + " | ", 1)) : createCommentVNode("", true),
178
179
  withDirectives(createBaseVNode("span", null, [
179
180
  createTextVNode(toDisplayString(unref(locale).baseText("credentials.item.updated")) + " ", 1),
180
- createVNode(_sfc_main$3, {
181
+ createVNode(_sfc_main$2, {
181
182
  date: _ctx.data.updatedAt
182
183
  }, null, 8, ["date"]),
183
184
  _cache[1] || (_cache[1] = createTextVNode(" | "))
@@ -233,7 +234,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
233
234
  const filters = ref({
234
235
  search: "",
235
236
  homeProject: "",
236
- type: ""
237
+ type: []
237
238
  });
238
239
  const loading = ref(false);
239
240
  const allCredentials = computed(
@@ -297,13 +298,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
297
298
  immediate: true
298
299
  }
299
300
  );
300
- const onFilter = (resource, filtersToApply, matches) => {
301
+ const onFilter = (resource, newFilters, matches) => {
302
+ const iResource = resource;
303
+ const filtersToApply = newFilters;
301
304
  if (filtersToApply.type.length > 0) {
302
- matches = matches && filtersToApply.type.includes(resource.type);
305
+ matches = matches && filtersToApply.type.includes(iResource.type);
303
306
  }
304
307
  if (filtersToApply.search) {
305
308
  const searchString = filtersToApply.search.toLowerCase();
306
- matches = matches || credentialTypesById.value[resource.type] && credentialTypesById.value[resource.type].displayName.toLowerCase().includes(searchString);
309
+ matches = matches || credentialTypesById.value[iResource.type] && credentialTypesById.value[iResource.type].displayName.toLowerCase().includes(searchString);
307
310
  }
308
311
  return matches;
309
312
  };
@@ -397,7 +400,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
397
400
  }, {
398
401
  default: withCtx(() => [
399
402
  (openBlock(true), createElementBlock(Fragment, null, renderList(allCredentialTypes.value, (credentialType) => {
400
- return openBlock(), createBlock(unref(_sfc_main$4), {
403
+ return openBlock(), createBlock(unref(_sfc_main$3), {
401
404
  key: credentialType.name,
402
405
  value: credentialType.name,
403
406
  label: credentialType.displayName
@@ -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, w as withCtx, k as createTextVNode, t as toDisplayString, e as createBlock, f as createCommentVNode, V as VIEWS, l as resolveComponent, _ as _export_sfc } from "./index-BUjeBzRM.js";
1
+ import { d as defineComponent, b as useRouter, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, j as createBaseVNode, w as withCtx, k as createTextVNode, t as toDisplayString, e as createBlock, f as createCommentVNode, V as VIEWS, l as resolveComponent, _ as _export_sfc } from "./index-7YFQEQmt.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "ErrorView",
4
4
  props: {
@@ -33,21 +33,21 @@
33
33
  }
34
34
  ._tooltipIcon_1lywb_35 {
35
35
  color: var(--color-text-light);
36
- }[data-v-1dfd9f44] .el-date-editor input {
36
+ }[data-v-e7c0538a] .el-date-editor input {
37
37
  height: 36px;
38
38
  border: 0;
39
39
  padding-right: 0;
40
40
  }
41
- [data-v-1dfd9f44] .el-date-editor .el-input__prefix {
41
+ [data-v-e7c0538a] .el-date-editor .el-input__prefix {
42
42
  color: var(--color-foreground-dark);
43
43
  }
44
- [data-v-1dfd9f44] .el-date-editor:last-of-type input {
44
+ [data-v-e7c0538a] .el-date-editor:last-of-type input {
45
45
  padding-left: 0;
46
46
  }
47
- [data-v-1dfd9f44] .el-date-editor:last-of-type .el-input__prefix {
47
+ [data-v-e7c0538a] .el-date-editor:last-of-type .el-input__prefix {
48
48
  display: none;
49
49
  }
50
- [data-v-1dfd9f44] .el-select-dropdown.el-popper[data-popper-placement^="bottom"] > .popper__arrow {
50
+ [data-v-e7c0538a] .el-select-dropdown.el-popper[data-popper-placement^="bottom"] > .popper__arrow {
51
51
  top: -6px;
52
52
  left: 50%;
53
53
  right: unset;
@@ -58,7 +58,7 @@
58
58
  border-bottom-color: var(--border-color-light);
59
59
  border-right-color: transparent;
60
60
  }
61
- [data-v-1dfd9f44] .el-select-dropdown.el-popper[data-popper-placement^="bottom"] > .popper__arrow::after {
61
+ [data-v-e7c0538a] .el-select-dropdown.el-popper[data-popper-placement^="bottom"] > .popper__arrow::after {
62
62
  top: 1px;
63
63
  left: unset;
64
64
  bottom: unset;
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, r as ref, p as computed, o as onMounted, y as onBeforeUnmount, c as openBlock, h as createElementBlock, t as toDisplayString, g as useI18n, m as useSettingsStore, K as useUIStore, J as useDebounce, c5 as reactive, ia as getObjectKeys, aq as onBeforeMount, e as createBlock, w as withCtx, i as createVNode, k as createTextVNode, f as createCommentVNode, A as unref, f6 as i18n, j as createBaseVNode, F as Fragment, z as renderList, n as normalizeClass, I as withModifiers, l as resolveComponent, a6 as _sfc_main$3, aj as useTelemetry, a7 as EnterpriseEditionFeature, e6 as isEmpty, _ as _export_sfc } from "./index-BUjeBzRM.js";
2
- import { _ as _sfc_main$2 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B4V5qQ9q.js";
1
+ import { d as defineComponent, r as ref, p as computed, o as onMounted, v as onBeforeUnmount, c as openBlock, h as createElementBlock, t as toDisplayString, g as useI18n, m as useSettingsStore, J as useDebounce, a5 as usePageRedirectionHelper, c6 as reactive, ie as getObjectKeys, ar as onBeforeMount, e as createBlock, w as withCtx, i as createVNode, k as createTextVNode, f as createCommentVNode, A as unref, fc as i18n, j as createBaseVNode, F as Fragment, z as renderList, n as normalizeClass, I as withModifiers, l as resolveComponent, a7 as _sfc_main$3, ak as useTelemetry, a8 as EnterpriseEditionFeature, eb as isEmpty, _ as _export_sfc } from "./index-7YFQEQmt.js";
2
+ import { _ as _sfc_main$2 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbabN_I2.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "ExecutionsTime",
5
5
  props: {
@@ -56,9 +56,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
56
56
  emits: ["filterChanged"],
57
57
  setup(__props, { emit: __emit }) {
58
58
  const settingsStore = useSettingsStore();
59
- const uiStore = useUIStore();
60
59
  const { debounce } = useDebounce();
61
60
  const telemetry = useTelemetry();
61
+ const pageRedirectionHelper = usePageRedirectionHelper();
62
62
  const props = __props;
63
63
  const emit = __emit;
64
64
  const debouncedEmit = debounce(emit, {
@@ -150,7 +150,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
150
150
  emit("filterChanged", filter);
151
151
  };
152
152
  const goToUpgrade = () => {
153
- void uiStore.goToUpgrade("custom-data-filter", "upgrade-custom-data-filter");
153
+ void pageRedirectionHelper.goToUpgrade("custom-data-filter", "upgrade-custom-data-filter");
154
154
  };
155
155
  onBeforeMount(() => {
156
156
  isCustomDataFilterTracked.value = false;
@@ -484,7 +484,7 @@ const style0 = {
484
484
  const cssModules = {
485
485
  "$style": style0
486
486
  };
487
- const ExecutionsFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-1dfd9f44"]]);
487
+ const ExecutionsFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-e7c0538a"]]);
488
488
  export {
489
489
  ExecutionsFilter as E,
490
490
  _sfc_main$1 as _
@@ -1,7 +1,7 @@
1
- import { d as defineComponent, b as useRouter, r as ref, p as computed, c as openBlock, h as createElementBlock, j as createBaseVNode, e as createBlock, f as createCommentVNode, n as normalizeClass, I as withModifiers, t as toDisplayString, i as createVNode, w as withCtx, A as unref, k as createTextVNode, g as useI18n, l as resolveComponent, a9 as useCssModule, eW as WAIT_TIME_UNLIMITED, f6 as i18n, V as VIEWS, _ as _export_sfc, T as useWorkflowsStore, ap as useExecutionsStore, m as useSettingsStore, a as useToast, H as watch, o as onMounted, ar as withDirectives, as as vShow, F as Fragment, z as renderList, aX as TransitionGroup, ad as MODAL_CONFIRM, al as getResourcePermissions, aj as useTelemetry, ak as useMessage, a7 as EnterpriseEditionFeature, a3 as useDocumentTitle, ej as storeToRefs, aq as onBeforeMount, y as onBeforeUnmount, aF as useExternalHooks } from "./index-BUjeBzRM.js";
2
- import { _ as _sfc_main$3, E as ExecutionsFilter } from "./ExecutionsFilter-ODySTrFf.js";
3
- import { b as convertToDisplayDate } from "./dateFormatter-CfOgAO2k.js";
4
- import { u as useExecutionHelpers } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B4V5qQ9q.js";
1
+ import { d as defineComponent, b as useRouter, r as ref, p as computed, c as openBlock, h as createElementBlock, j as createBaseVNode, e as createBlock, f as createCommentVNode, n as normalizeClass, I as withModifiers, t as toDisplayString, i as createVNode, w as withCtx, A as unref, k as createTextVNode, g as useI18n, l as resolveComponent, aa as useCssModule, f0 as WAIT_TIME_UNLIMITED, fc as i18n, V as VIEWS, _ as _export_sfc, T as useWorkflowsStore, aq as useExecutionsStore, m as useSettingsStore, a as useToast, H as watch, o as onMounted, as as withDirectives, at as vShow, F as Fragment, z as renderList, aY as TransitionGroup, ae as MODAL_CONFIRM, am as getResourcePermissions, ak as useTelemetry, al as useMessage, a8 as EnterpriseEditionFeature, a3 as useDocumentTitle, eo as storeToRefs, ar as onBeforeMount, v as onBeforeUnmount, aG as useExternalHooks } from "./index-7YFQEQmt.js";
2
+ import { _ as _sfc_main$3, E as ExecutionsFilter } from "./ExecutionsFilter-DlZH8tDW.js";
3
+ import { b as convertToDisplayDate } from "./dateFormatter-C53K7zEn.js";
4
+ import { u as useExecutionHelpers } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbabN_I2.js";
5
5
  const _hoisted_1$1 = { key: 0 };
6
6
  const _hoisted_2 = { key: 1 };
7
7
  const _hoisted_3 = { key: 0 };
@@ -1,4 +1,4 @@
1
- import { dS as commonjsGlobal } from "./index-BUjeBzRM.js";
1
+ import { dX as commonjsGlobal } from "./index-7YFQEQmt.js";
2
2
  var FileSaver_min = { exports: {} };
3
3
  (function(module, exports) {
4
4
  (function(a, b) {
@@ -0,0 +1,334 @@
1
+ import { d as defineComponent, p as computed, r as ref, dP as isINodePropertyCollectionList, H as watch, dK as deepCopy, ar as onBeforeMount, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, A as unref, iN as N8nText, f as createCommentVNode, F as Fragment, z as renderList, e as createBlock, iX as N8nInputLabel, j as createBaseVNode, eX as _sfc_main$1, dE as _sfc_main$2, aT as Suspense, n as normalizeClass, iV as N8nButton, iZ as _sfc_main$3, iY as N8nSelect, I as withModifiers, g as useI18n, dI as get, _ as _export_sfc } from "./index-7YFQEQmt.js";
2
+ const _hoisted_1 = ["data-test-id"];
3
+ const _hoisted_2 = {
4
+ key: 0,
5
+ class: "no-items-exist"
6
+ };
7
+ const _hoisted_3 = { key: 1 };
8
+ const _hoisted_4 = {
9
+ key: 0,
10
+ class: "delete-option"
11
+ };
12
+ const _hoisted_5 = {
13
+ key: 2,
14
+ class: "parameter-item"
15
+ };
16
+ const _hoisted_6 = { class: "parameter-item-wrapper" };
17
+ const _hoisted_7 = {
18
+ key: 0,
19
+ class: "delete-option"
20
+ };
21
+ const _hoisted_8 = {
22
+ key: 1,
23
+ class: "controls"
24
+ };
25
+ const _hoisted_9 = {
26
+ key: 1,
27
+ class: "add-option"
28
+ };
29
+ const _sfc_main = /* @__PURE__ */ defineComponent({
30
+ __name: "FixedCollectionParameter",
31
+ props: {
32
+ nodeValues: {},
33
+ parameter: {},
34
+ path: {},
35
+ values: { default: () => ({}) },
36
+ isReadOnly: { type: Boolean, default: false }
37
+ },
38
+ emits: ["valueChanged"],
39
+ setup(__props, { emit: __emit }) {
40
+ const locale = useI18n();
41
+ const props = __props;
42
+ const emit = __emit;
43
+ const getPlaceholderText = computed(() => {
44
+ const placeholder = locale.nodeText().placeholder(props.parameter, props.path);
45
+ return placeholder ? placeholder : locale.baseText("fixedCollectionParameter.choose");
46
+ });
47
+ const mutableValues = ref({});
48
+ const selectedOption = ref(null);
49
+ const propertyNames = computed(() => {
50
+ return new Set(Object.keys(mutableValues.value || {}));
51
+ });
52
+ const getProperties = computed(() => {
53
+ const returnProperties = [];
54
+ let tempProperties;
55
+ for (const name of propertyNames.value) {
56
+ tempProperties = getOptionProperties(name);
57
+ if (tempProperties !== void 0) {
58
+ returnProperties.push(tempProperties);
59
+ }
60
+ }
61
+ return returnProperties;
62
+ });
63
+ const multipleValues = computed(() => {
64
+ var _a;
65
+ return !!((_a = props.parameter.typeOptions) == null ? void 0 : _a.multipleValues);
66
+ });
67
+ const parameterOptions = computed(() => {
68
+ if (!isINodePropertyCollectionList(props.parameter.options)) return [];
69
+ if (multipleValues.value) {
70
+ return props.parameter.options;
71
+ }
72
+ return (props.parameter.options ?? []).filter((option) => {
73
+ return !propertyNames.value.has(option.name);
74
+ });
75
+ });
76
+ const sortable = computed(() => {
77
+ var _a;
78
+ return !!((_a = props.parameter.typeOptions) == null ? void 0 : _a.sortable);
79
+ });
80
+ watch(
81
+ () => props.values,
82
+ (newValues) => {
83
+ mutableValues.value = deepCopy(newValues);
84
+ },
85
+ { deep: true }
86
+ );
87
+ onBeforeMount(() => {
88
+ mutableValues.value = deepCopy(props.values);
89
+ });
90
+ const deleteOption = (optionName, index) => {
91
+ const currentOptionsOfSameType = mutableValues.value[optionName];
92
+ if (!currentOptionsOfSameType || currentOptionsOfSameType.length > 1) {
93
+ emit("valueChanged", {
94
+ name: getPropertyPath(optionName, index),
95
+ value: void 0
96
+ });
97
+ } else {
98
+ emit("valueChanged", {
99
+ name: getPropertyPath(optionName),
100
+ value: void 0
101
+ });
102
+ }
103
+ };
104
+ const getPropertyPath = (name, index) => {
105
+ return `${props.path}.${name}` + (index !== void 0 ? `[${index}]` : "");
106
+ };
107
+ const getOptionProperties = (optionName) => {
108
+ if (isINodePropertyCollectionList(props.parameter.options)) {
109
+ for (const option of props.parameter.options) {
110
+ if (option.name === optionName) {
111
+ return option;
112
+ }
113
+ }
114
+ }
115
+ return void 0;
116
+ };
117
+ const moveOptionDown = (optionName, index) => {
118
+ if (Array.isArray(mutableValues.value[optionName])) {
119
+ mutableValues.value[optionName].splice(
120
+ index + 1,
121
+ 0,
122
+ mutableValues.value[optionName].splice(index, 1)[0]
123
+ );
124
+ }
125
+ const parameterData = {
126
+ name: getPropertyPath(optionName),
127
+ value: mutableValues.value[optionName],
128
+ type: "optionsOrderChanged"
129
+ };
130
+ emit("valueChanged", parameterData);
131
+ };
132
+ const moveOptionUp = (optionName, index) => {
133
+ var _a;
134
+ if (Array.isArray(mutableValues.value[optionName])) {
135
+ (_a = mutableValues.value) == null ? void 0 : _a[optionName].splice(
136
+ index - 1,
137
+ 0,
138
+ mutableValues.value[optionName].splice(index, 1)[0]
139
+ );
140
+ }
141
+ const parameterData = {
142
+ name: getPropertyPath(optionName),
143
+ value: mutableValues.value[optionName],
144
+ type: "optionsOrderChanged"
145
+ };
146
+ emit("valueChanged", parameterData);
147
+ };
148
+ const optionSelected = (optionName) => {
149
+ const option = getOptionProperties(optionName);
150
+ if (option === void 0) {
151
+ return;
152
+ }
153
+ const name = `${props.path}.${option.name}`;
154
+ const newParameterValue = {};
155
+ for (const optionParameter of option.values) {
156
+ if (optionParameter.type === "fixedCollection" && optionParameter.typeOptions !== void 0 && optionParameter.typeOptions.multipleValues === true) {
157
+ newParameterValue[optionParameter.name] = {};
158
+ } else if (optionParameter.typeOptions !== void 0 && optionParameter.typeOptions.multipleValues === true) {
159
+ const multiValue = get(props.nodeValues, [props.path, optionParameter.name], []);
160
+ if (Array.isArray(optionParameter.default)) {
161
+ multiValue.push(...deepCopy(optionParameter.default));
162
+ } else if (optionParameter.default !== "" && typeof optionParameter.default !== "object") {
163
+ multiValue.push(deepCopy(optionParameter.default));
164
+ }
165
+ newParameterValue[optionParameter.name] = multiValue;
166
+ } else {
167
+ newParameterValue[optionParameter.name] = deepCopy(optionParameter.default);
168
+ }
169
+ }
170
+ let newValue;
171
+ if (multipleValues.value) {
172
+ newValue = get(props.nodeValues, name, []);
173
+ newValue.push(newParameterValue);
174
+ } else {
175
+ newValue = newParameterValue;
176
+ }
177
+ const parameterData = {
178
+ name,
179
+ value: newValue
180
+ };
181
+ emit("valueChanged", parameterData);
182
+ selectedOption.value = void 0;
183
+ };
184
+ const valueChanged = (parameterData) => {
185
+ emit("valueChanged", parameterData);
186
+ };
187
+ return (_ctx, _cache) => {
188
+ var _a;
189
+ return openBlock(), createElementBlock("div", {
190
+ class: "fixed-collection-parameter",
191
+ "data-test-id": `fixed-collection-${(_a = props.parameter) == null ? void 0 : _a.name}`,
192
+ onKeydown: _cache[2] || (_cache[2] = withModifiers(() => {
193
+ }, ["stop"]))
194
+ }, [
195
+ getProperties.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [
196
+ createVNode(unref(N8nText), { size: "small" }, {
197
+ default: withCtx(() => [
198
+ createTextVNode(toDisplayString(unref(locale).baseText("fixedCollectionParameter.currentlyNoItemsExist")), 1)
199
+ ]),
200
+ _: 1
201
+ })
202
+ ])) : createCommentVNode("", true),
203
+ (openBlock(true), createElementBlock(Fragment, null, renderList(getProperties.value, (property) => {
204
+ return openBlock(), createElementBlock("div", {
205
+ key: property.name,
206
+ class: "fixed-collection-parameter-property"
207
+ }, [
208
+ property.displayName !== "" && _ctx.parameter.options && _ctx.parameter.options.length !== 1 ? (openBlock(), createBlock(unref(N8nInputLabel), {
209
+ key: 0,
210
+ label: unref(locale).nodeText().inputLabelDisplayName(property, _ctx.path),
211
+ underline: true,
212
+ size: "small",
213
+ color: "text-dark"
214
+ }, null, 8, ["label"])) : createCommentVNode("", true),
215
+ multipleValues.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
216
+ (openBlock(true), createElementBlock(Fragment, null, renderList(mutableValues.value[property.name], (_, index) => {
217
+ return openBlock(), createElementBlock("div", {
218
+ key: property.name + index,
219
+ class: "parameter-item"
220
+ }, [
221
+ createBaseVNode("div", {
222
+ class: normalizeClass(index ? "border-top-dashed parameter-item-wrapper " : "parameter-item-wrapper")
223
+ }, [
224
+ !_ctx.isReadOnly ? (openBlock(), createElementBlock("div", _hoisted_4, [
225
+ createVNode(unref(_sfc_main$1), {
226
+ type: "tertiary",
227
+ text: "",
228
+ size: "mini",
229
+ icon: "trash",
230
+ "data-test-id": "fixed-collection-delete",
231
+ title: unref(locale).baseText("fixedCollectionParameter.deleteItem"),
232
+ onClick: ($event) => deleteOption(property.name, index)
233
+ }, null, 8, ["title", "onClick"]),
234
+ sortable.value && index !== 0 ? (openBlock(), createBlock(unref(_sfc_main$1), {
235
+ key: 0,
236
+ type: "tertiary",
237
+ text: "",
238
+ size: "mini",
239
+ icon: "angle-up",
240
+ title: unref(locale).baseText("fixedCollectionParameter.moveUp"),
241
+ onClick: ($event) => moveOptionUp(property.name, index)
242
+ }, null, 8, ["title", "onClick"])) : createCommentVNode("", true),
243
+ sortable.value && index !== mutableValues.value[property.name].length - 1 ? (openBlock(), createBlock(unref(_sfc_main$1), {
244
+ key: 1,
245
+ type: "tertiary",
246
+ text: "",
247
+ size: "mini",
248
+ icon: "angle-down",
249
+ title: unref(locale).baseText("fixedCollectionParameter.moveDown"),
250
+ onClick: ($event) => moveOptionDown(property.name, index)
251
+ }, null, 8, ["title", "onClick"])) : createCommentVNode("", true)
252
+ ])) : createCommentVNode("", true),
253
+ (openBlock(), createBlock(Suspense, null, {
254
+ default: withCtx(() => [
255
+ createVNode(_sfc_main$2, {
256
+ parameters: property.values,
257
+ "node-values": _ctx.nodeValues,
258
+ path: getPropertyPath(property.name, index),
259
+ "hide-delete": true,
260
+ "is-read-only": _ctx.isReadOnly,
261
+ onValueChanged: valueChanged
262
+ }, null, 8, ["parameters", "node-values", "path", "is-read-only"])
263
+ ]),
264
+ _: 2
265
+ }, 1024))
266
+ ], 2)
267
+ ]);
268
+ }), 128))
269
+ ])) : (openBlock(), createElementBlock("div", _hoisted_5, [
270
+ createBaseVNode("div", _hoisted_6, [
271
+ !_ctx.isReadOnly ? (openBlock(), createElementBlock("div", _hoisted_7, [
272
+ createVNode(unref(_sfc_main$1), {
273
+ type: "tertiary",
274
+ text: "",
275
+ size: "mini",
276
+ icon: "trash",
277
+ "data-test-id": "fixed-collection-delete",
278
+ title: unref(locale).baseText("fixedCollectionParameter.deleteItem"),
279
+ onClick: ($event) => deleteOption(property.name)
280
+ }, null, 8, ["title", "onClick"])
281
+ ])) : createCommentVNode("", true),
282
+ createVNode(_sfc_main$2, {
283
+ parameters: property.values,
284
+ "node-values": _ctx.nodeValues,
285
+ path: getPropertyPath(property.name),
286
+ "is-read-only": _ctx.isReadOnly,
287
+ class: "parameter-item",
288
+ "hide-delete": true,
289
+ onValueChanged: valueChanged
290
+ }, null, 8, ["parameters", "node-values", "path", "is-read-only"])
291
+ ])
292
+ ]))
293
+ ]);
294
+ }), 128)),
295
+ parameterOptions.value.length > 0 && !_ctx.isReadOnly ? (openBlock(), createElementBlock("div", _hoisted_8, [
296
+ _ctx.parameter.options && _ctx.parameter.options.length === 1 ? (openBlock(), createBlock(unref(N8nButton), {
297
+ key: 0,
298
+ type: "tertiary",
299
+ block: "",
300
+ "data-test-id": "fixed-collection-add",
301
+ label: getPlaceholderText.value,
302
+ onClick: _cache[0] || (_cache[0] = ($event) => optionSelected(_ctx.parameter.options[0].name))
303
+ }, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_9, [
304
+ createVNode(unref(N8nSelect), {
305
+ modelValue: selectedOption.value,
306
+ "onUpdate:modelValue": [
307
+ _cache[1] || (_cache[1] = ($event) => selectedOption.value = $event),
308
+ optionSelected
309
+ ],
310
+ placeholder: getPlaceholderText.value,
311
+ size: "small",
312
+ filterable: ""
313
+ }, {
314
+ default: withCtx(() => [
315
+ (openBlock(true), createElementBlock(Fragment, null, renderList(parameterOptions.value, (item) => {
316
+ return openBlock(), createBlock(unref(_sfc_main$3), {
317
+ key: item.name,
318
+ label: unref(locale).nodeText().collectionOptionDisplayName(_ctx.parameter, item, _ctx.path),
319
+ value: item.name
320
+ }, null, 8, ["label", "value"]);
321
+ }), 128))
322
+ ]),
323
+ _: 1
324
+ }, 8, ["modelValue", "placeholder"])
325
+ ]))
326
+ ])) : createCommentVNode("", true)
327
+ ], 40, _hoisted_1);
328
+ };
329
+ }
330
+ });
331
+ const FixedCollectionParameter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-eb768adb"]]);
332
+ export {
333
+ FixedCollectionParameter as default
334
+ };
@@ -1,7 +1,7 @@
1
- .fixed-collection-parameter[data-v-f59887d3] {
1
+ .fixed-collection-parameter[data-v-eb768adb] {
2
2
  padding-left: var(--spacing-s);
3
3
  }
4
- .fixed-collection-parameter .delete-option[data-v-f59887d3] {
4
+ .fixed-collection-parameter .delete-option[data-v-eb768adb] {
5
5
  display: -webkit-box;
6
6
  display: -ms-flexbox;
7
7
  display: flex;
@@ -10,7 +10,7 @@
10
10
  -ms-flex-direction: column;
11
11
  flex-direction: column;
12
12
  }
13
- .fixed-collection-parameter .controls[data-v-f59887d3] .button {
13
+ .fixed-collection-parameter .controls[data-v-eb768adb] .button {
14
14
  font-weight: var(--font-weight-normal);
15
15
  --button-font-color: var(--color-text-dark);
16
16
  --button-border-color: var(--color-foreground-base);
@@ -25,25 +25,25 @@
25
25
  --button-focus-border-color: var(--color-foreground-base);
26
26
  --button-focus-background-color: var(--color-background-base);
27
27
  }
28
- .fixed-collection-parameter .controls[data-v-f59887d3] .button:active, .fixed-collection-parameter .controls[data-v-f59887d3] .button.active, .fixed-collection-parameter .controls[data-v-f59887d3] .button:focus {
28
+ .fixed-collection-parameter .controls[data-v-eb768adb] .button:active, .fixed-collection-parameter .controls[data-v-eb768adb] .button.active, .fixed-collection-parameter .controls[data-v-eb768adb] .button:focus {
29
29
  outline: none;
30
30
  }
31
- .fixed-collection-parameter-property[data-v-f59887d3] {
31
+ .fixed-collection-parameter-property[data-v-eb768adb] {
32
32
  margin: var(--spacing-xs) 0;
33
33
  }
34
- .parameter-item:hover > .parameter-item-wrapper > .delete-option[data-v-f59887d3] {
34
+ .parameter-item:hover > .parameter-item-wrapper > .delete-option[data-v-eb768adb] {
35
35
  opacity: 1;
36
36
  }
37
- .parameter-item[data-v-f59887d3] {
37
+ .parameter-item[data-v-eb768adb] {
38
38
  position: relative;
39
39
  padding: 0 0 0 1em;
40
40
  }
41
- .parameter-item + .parameter-item .parameter-item-wrapper .delete-option[data-v-f59887d3] {
41
+ .parameter-item + .parameter-item .parameter-item-wrapper .delete-option[data-v-eb768adb] {
42
42
  top: 14px;
43
43
  }
44
- .border-top-dashed[data-v-f59887d3] {
44
+ .border-top-dashed[data-v-eb768adb] {
45
45
  border-top: 1px dashed #999;
46
46
  }
47
- .no-items-exist[data-v-f59887d3] {
47
+ .no-items-exist[data-v-eb768adb] {
48
48
  margin: var(--spacing-xs) 0;
49
49
  }