n8n-editor-ui 1.67.0 → 1.68.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 (94) hide show
  1. package/dist/assets/{AuthView-DmC24d7S.js → AuthView-CVb7TJSd.js} +1 -1
  2. package/dist/assets/CanvasChat-BMk9MWgs.js +4166 -0
  3. package/dist/assets/CanvasChat-DKeWqqZz.css +730 -0
  4. package/dist/assets/{CanvasControls-BPXQqeeO.js → CanvasControls-Yk4_XYJQ.js} +1 -1
  5. package/dist/assets/{ChangePasswordView-SC3n2vJc.js → ChangePasswordView-DNdHigRi.js} +2 -2
  6. package/dist/assets/CollectionParameter-D41BcLWH.js +4 -0
  7. package/dist/assets/{CredentialsView-B3m9CpEC.js → CredentialsView-J-xOpbpA.js} +5 -6
  8. package/dist/assets/{ErrorView-D6M8WlVP.js → ErrorView-BtsxZO1X.js} +1 -1
  9. package/dist/assets/{ExecutionsFilter-DlZH8tDW.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-CyuSP3Dh.js} +41 -41
  10. package/dist/assets/{ExecutionsView-DaHtYmF4.js → ExecutionsView-C2Rb4ZWz.js} +26 -31
  11. package/dist/assets/{ExecutionsView-Dfy6JMwb.css → ExecutionsView-DlxsqdiC.css} +44 -38
  12. package/dist/assets/{FileSaver.min-DNytcjKT.js → FileSaver.min-BjmMGbea.js} +1 -1
  13. package/dist/assets/{FixedCollectionParameter-CypxYAFK.js → FixedCollectionParameter-VmYo3PL-.js} +1 -1
  14. package/dist/assets/{ForgotMyPasswordView-BJ6gd5CS.js → ForgotMyPasswordView-D0oUoVQk.js} +2 -2
  15. package/dist/assets/{MainHeader-DniXcGMK.js → MainHeader-CRLrXCio.js} +111 -28
  16. package/dist/assets/{MainHeader-D56WYRMG.css → MainHeader-DJdd17Nh.css} +27 -2
  17. package/dist/assets/{MainSidebar-NwOfijmV.js → MainSidebar-CPGBmQ2h.js} +2 -9
  18. package/dist/assets/{NodeCreation-Ce1ct2i3.js → NodeCreation-DP-aW4g1.js} +12 -9
  19. package/dist/assets/{NodeCreator-DMLTbzAt.js → NodeCreator-Dr6gHEkB.js} +55 -54
  20. package/dist/assets/{NodeViewSwitcher-B9JUn3eY.js → NodeViewSwitcher-Bg192dfN.js} +2509 -2633
  21. package/dist/assets/{NodeViewSwitcher-CnP5aYyg.css → NodeViewSwitcher-DuVIKqpm.css} +108 -107
  22. package/dist/assets/{ProjectCardBadge-C3QU-WmO.js → ProjectCardBadge-CMY_LIZA.js} +1 -1
  23. package/dist/assets/{ResourceListHeader-DgE1VPUF.css → ProjectHeader-09VQWBZH.css} +5 -3
  24. package/dist/assets/ProjectHeader-Bb0FunlL.js +196 -0
  25. package/dist/assets/{ProjectSettings-BvcEg3hx.js → ProjectSettings-Luijz21w.js} +5 -34
  26. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DlJOpf7N.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BsYnH5Dp.js} +1 -1
  27. package/dist/assets/{ResourcesListLayout-Ci-K1bH3.css → ResourcesListLayout-CuA8O7do.css} +8 -8
  28. package/dist/assets/{ResourcesListLayout-Bc4__nvw.js → ResourcesListLayout-DkU4cwHh.js} +2 -32
  29. package/dist/assets/{RunDataJson-ea5u1EeD.js → RunDataJson-DC2cn20i.js} +12 -12
  30. package/dist/assets/{RunDataJsonActions-Dflnt8gK.js → RunDataJsonActions-Bn0kkV0k.js} +2 -1
  31. package/dist/assets/{RunDataSearch-DKNVmEqa.js → RunDataSearch-Ba2DqjJd.js} +2 -2
  32. package/dist/assets/RunDataTable-B5dCfxC7.js +564 -0
  33. package/dist/assets/{SamlOnboarding-CPvGRYUg.js → SamlOnboarding-DX6vYyJJ.js} +2 -2
  34. package/dist/assets/{SettingsApiView-BFj9fDL9.js → SettingsApiView-B1U3DPus.js} +1 -1
  35. package/dist/assets/{SettingsCommunityNodesView-nJFDrtIR.js → SettingsCommunityNodesView-DDT90Pg5.js} +3 -3
  36. package/dist/assets/{SettingsExternalSecrets-0-mj45K-.js → SettingsExternalSecrets-B7yrrkIB.js} +1 -1
  37. package/dist/assets/{SettingsLdapView-BhBxX72w.js → SettingsLdapView-BUpGsV_P.js} +1 -1
  38. package/dist/assets/{SettingsLogStreamingView-CmEJrEOv.js → SettingsLogStreamingView-D2DSI-Lv.js} +1 -1
  39. package/dist/assets/{SettingsPersonalView-C__lC8Vv.js → SettingsPersonalView-OmmJuXrb.js} +1 -1
  40. package/dist/assets/{SettingsSourceControl-CMoS5B5P.js → SettingsSourceControl-C0dSjfRG.js} +1 -1
  41. package/dist/assets/{SettingsSso-DJfrl1Rl.js → SettingsSso-DaWZ5LEZ.js} +1 -1
  42. package/dist/assets/{SettingsUsageAndPlan-CWQ5uVrG.js → SettingsUsageAndPlan-BSHhZ_dW.js} +1 -1
  43. package/dist/assets/{SettingsUsersView-Cvr6Digb.js → SettingsUsersView-DHGG452i.js} +1 -1
  44. package/dist/assets/{SettingsView-DtGga45F.js → SettingsView-CxnuEPNL.js} +1 -1
  45. package/dist/assets/{SetupView-DkJH96By.js → SetupView-DqjzpwwU.js} +2 -2
  46. package/dist/assets/{SetupWorkflowCredentialsButton-C1Jv_-V5.js → SetupWorkflowCredentialsButton-DPwPtU12.js} +1 -1
  47. package/dist/assets/{SetupWorkflowFromTemplateView-WSzVMgC4.js → SetupWorkflowFromTemplateView-DJJROuu3.js} +3 -3
  48. package/dist/assets/{SigninView-xej8y-Vu.js → SigninView-BVFtq-2J.js} +2 -2
  49. package/dist/assets/{SignoutView-Dc8fBBIm.js → SignoutView-gby6UeGY.js} +1 -1
  50. package/dist/assets/{SignupView-CKA28Xc8.js → SignupView-BWAaJlGd.js} +2 -2
  51. package/dist/assets/{TemplateDetails-Pi49rFlS.js → TemplateDetails-Bfs2kkws.js} +1 -1
  52. package/dist/assets/{TemplateList-BncQL783.js → TemplateList-BS2Fw__b.js} +1 -1
  53. package/dist/assets/{TemplatesCollectionView-C9PKPo5y.js → TemplatesCollectionView-Rli1bmvV.js} +7 -7
  54. package/dist/assets/{TemplatesSearchView-65taIL-M.js → TemplatesSearchView-BNrgIFb5.js} +3 -3
  55. package/dist/assets/{TemplatesView-DkP9JWHk.js → TemplatesView-B5ZVm_dO.js} +1 -1
  56. package/dist/assets/{TemplatesWorkflowView-B5uc0BtL.js → TemplatesWorkflowView-B3PrX47Z.js} +5 -5
  57. package/dist/assets/{VariablesView-DV1-KgmN.js → VariablesView-Cni61oK7.js} +2 -3
  58. package/dist/assets/WorkerView-CVk9_v-i.js +787 -0
  59. package/dist/assets/WorkerView-C_d54L0W.css +181 -0
  60. package/dist/assets/{WorkflowActivator-Dc_Un-Af.js → WorkflowActivator-DpNfU8S2.js} +2 -2
  61. package/dist/assets/{WorkflowExecutionsInfoAccordion-BLyC6lr5.js → WorkflowExecutionsInfoAccordion-CvdeOIyp.js} +1 -1
  62. package/dist/assets/{WorkflowExecutionsLandingPage-Dsa6Bgkn.js → WorkflowExecutionsLandingPage-D92KorlC.js} +2 -2
  63. package/dist/assets/{WorkflowExecutionsPreview-B_X-enUV.js → WorkflowExecutionsPreview-C3X1cQ2N.js} +5 -5
  64. package/dist/assets/{WorkflowExecutionsView-Bkz3Sig-.js → WorkflowExecutionsView-CRUra874.js} +6 -6
  65. package/dist/assets/{WorkflowExecutionsView-B8x2-iOd.css → WorkflowExecutionsView-CZKkPKqJ.css} +9 -1
  66. package/dist/assets/{WorkflowHistory-BiPMooAv.js → WorkflowHistory-Cxm0Fasa.js} +3 -3
  67. package/dist/assets/{WorkflowOnboardingView-XHuS6lCs.js → WorkflowOnboardingView-Chk-ANFv.js} +1 -1
  68. package/dist/assets/{WorkflowPreview-DxZKd23H.js → WorkflowPreview-Ds6TtYEJ.js} +1 -1
  69. package/dist/assets/{WorkflowsView-BBaLVqJs.js → WorkflowsView-BkOCTGrW.js} +7 -8
  70. package/dist/assets/buttons.esm-BOkmSohe.js +477 -0
  71. package/dist/assets/{dateFormatter-C53K7zEn.js → dateFormatter-DbqvzAoe.js} +1 -1
  72. package/dist/assets/{index-7YFQEQmt.js → index-KRTOiXIE.js} +96365 -102013
  73. package/dist/assets/{index-BFH_KxyA.css → index-r43k-wiC.css} +175 -651
  74. package/dist/assets/{pushConnection.store-DbprXL-x.js → pushConnection.store-BaeC9SL1.js} +1 -1
  75. package/dist/assets/{templateActions-QFQD8amJ.js → templateActions-C6LE7tmr.js} +1 -1
  76. package/dist/assets/{useBugReporting-IgwBNdXI.js → useBugReporting-DAqKvmOS.js} +1 -1
  77. package/dist/assets/{useExecutionDebugging-CLORI_Ma.js → useExecutionDebugging-B5hEDeUo.js} +1 -1
  78. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbabN_I2.js → useExecutionHelpers-BnMndkLB.js} +55 -55
  79. package/dist/assets/{useNodeViewVersionSwitcher-CJLQ5lju.js → useNodeViewVersionSwitcher-DPTYc7jG.js} +1 -1
  80. package/dist/assets/{usePushConnection-DjPgTuLw.js → usePushConnection-DtjYN_M-.js} +7 -6
  81. package/dist/assets/useRunWorkflow-3NXGqc8M.js +3710 -0
  82. package/dist/assets/{RunDataAi-x30tU8-0.css → useRunWorkflow-DH7ZzA8t.css} +97 -57
  83. package/dist/assets/{useWorkflowActivate-D_gK841h.js → useWorkflowActivate-DP_90b8S.js} +1 -1
  84. package/dist/index.html +2 -2
  85. package/package.json +1 -1
  86. package/dist/assets/CollectionParameter-Odk28FRT.js +0 -4
  87. package/dist/assets/ProjectTabs-DjoIePoM.css +0 -3
  88. package/dist/assets/ProjectTabs-Dve3xFj9.js +0 -88
  89. package/dist/assets/ResourceListHeader-B2sxe6HT.js +0 -66
  90. package/dist/assets/RunDataAi-BKu1beM6.js +0 -1539
  91. package/dist/assets/RunDataTable-DISLWxMc.js +0 -608
  92. package/dist/assets/WorkerView-5P9lg6ew.js +0 -148
  93. package/dist/assets/WorkerView-Dm0b18Mh.css +0 -22
  94. /package/dist/assets/{ExecutionsFilter-DVxRt-Pz.css → ExecutionsTime-DVxRt-Pz.css} +0 -0
@@ -1,11 +1,11 @@
1
- import { d as defineComponent, p as computed, c as openBlock, h as createElementBlock, q as renderSlot, s as shorten, r as ref, v as onBeforeUnmount, o as onMounted, x as nextTick, y as debounce, e as createBlock, w as withCtx, j as createBaseVNode, z as renderList, n as normalizeClass, k as createTextVNode, t as toDisplayString, A as unref, i as createVNode, F as Fragment, B as normalizeStyle, C as createEventBus, l as resolveComponent, _ as _export_sfc, D as useTagsStore, E as onClickOutside, G as withKeys, H as watch, I as withModifiers, J as useDebounce, K as useUIStore, L as getBannerRowHeight, N as BREAKPOINT_SM, O as BREAKPOINT_XL, P as BREAKPOINT_LG, Q as BREAKPOINT_MD, g as useI18n, V as VIEWS, R as defineStore, S as STORES, T as useWorkflowsStore, u as useUsersStore, U as useRoute, W as TIME, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, Y as useDocumentVisibility, f as createCommentVNode, Z as useRootStore, $ as useCanvasStore, m as useSettingsStore, a0 as useSourceControlStore, a1 as useProjectsStore, a2 as useNpsSurveyStore, b as useRouter, a as useToast, a3 as useDocumentTitle, a4 as useWorkflowHelpers, a5 as usePageRedirectionHelper, a6 as MAX_WORKFLOW_NAME_LENGTH, a7 as _sfc_main$f, a8 as EnterpriseEditionFeature, a9 as SaveButton, aa as useCssModule, ab as WORKFLOW_SHARE_MODAL_KEY, ac as nodeViewEventBus, ad as WORKFLOW_MENU_ACTIONS, ae as MODAL_CONFIRM, af as MODAL_CLOSE, ag as WORKFLOW_SETTINGS_MODAL_KEY, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, ai as VALID_WORKFLOW_IMPORT_URL_REGEX, aj as DUPLICATE_MODAL_KEY, ak as useTelemetry, al as useMessage, am as getResourcePermissions, an as hasPermission, ao as MAIN_HEADER_TABS, ap as useNDVStore, aq as useExecutionsStore, ar as onBeforeMount, as as withDirectives, at as vShow, au as STICKY_NODE_TYPE } from "./index-7YFQEQmt.js";
2
- import { _ as _sfc_main$g } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-DlJOpf7N.js";
3
- import { W as WorkflowActivator } from "./WorkflowActivator-Dc_Un-Af.js";
4
- import { u as useBeforeUnload, a as useNodeViewVersionSwitcher } from "./useNodeViewVersionSwitcher-CJLQ5lju.js";
5
- import { u as usePushConnectionStore } from "./pushConnection.store-DbprXL-x.js";
6
- import { F as FileSaver_minExports } from "./FileSaver.min-DNytcjKT.js";
7
- import { u as usePushConnection } from "./usePushConnection-DjPgTuLw.js";
8
- import "./useWorkflowActivate-D_gK841h.js";
1
+ import { d as defineComponent, p as computed, c as openBlock, h as createElementBlock, q as renderSlot, s as shorten, r as ref, v as onBeforeUnmount, o as onMounted, x as nextTick, y as debounce, e as createBlock, w as withCtx, j as createBaseVNode, z as renderList, n as normalizeClass, k as createTextVNode, t as toDisplayString, A as unref, i as createVNode, F as Fragment, B as normalizeStyle, C as createEventBus, l as resolveComponent, _ as _export_sfc, D as useTagsStore, E as onClickOutside, G as withKeys, H as watch, I as withModifiers, J as useDebounce, K as useUIStore, L as getBannerRowHeight, N as BREAKPOINT_SM, O as BREAKPOINT_XL, P as BREAKPOINT_LG, Q as BREAKPOINT_MD, g as useI18n, V as VIEWS, R as defineStore, S as STORES, T as useWorkflowsStore, u as useUsersStore, U as useRoute, W as TIME, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, Y as useDocumentVisibility, f as createCommentVNode, Z as useRootStore, $ as useCanvasStore, m as useSettingsStore, a0 as useSourceControlStore, a1 as useProjectsStore, a2 as useNpsSurveyStore, b as useRouter, a as useToast, a3 as useDocumentTitle, a4 as useWorkflowHelpers, a5 as usePageRedirectionHelper, a6 as MAX_WORKFLOW_NAME_LENGTH, a7 as _sfc_main$f, a8 as EnterpriseEditionFeature, a9 as SaveButton, aa as useCssModule, ab as WORKFLOW_SHARE_MODAL_KEY, ac as nodeViewEventBus, ad as WORKFLOW_MENU_ACTIONS, ae as MODAL_CONFIRM, af as MODAL_CLOSE, ag as WORKFLOW_SETTINGS_MODAL_KEY, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, ai as VALID_WORKFLOW_IMPORT_URL_REGEX, aj as DUPLICATE_MODAL_KEY, ak as useTelemetry, al as useMessage, am as getResourcePermissions, an as hasPermission, ao as MAIN_HEADER_TABS, ap as hyphenate, aq as h, ar as hasOwn, as as __vitePreload, at as useNDVStore, au as useExecutionsStore, av as onBeforeMount, aw as withDirectives, ax as vShow, ay as STICKY_NODE_TYPE } from "./index-KRTOiXIE.js";
2
+ import { _ as _sfc_main$g } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-BsYnH5Dp.js";
3
+ import { W as WorkflowActivator } from "./WorkflowActivator-DpNfU8S2.js";
4
+ import { u as useBeforeUnload, a as useNodeViewVersionSwitcher } from "./useNodeViewVersionSwitcher-DPTYc7jG.js";
5
+ import { u as usePushConnectionStore } from "./pushConnection.store-BaeC9SL1.js";
6
+ import { F as FileSaver_minExports } from "./FileSaver.min-BjmMGbea.js";
7
+ import { u as usePushConnection } from "./usePushConnection-DtjYN_M-.js";
8
+ import "./useWorkflowActivate-DP_90b8S.js";
9
9
  const _hoisted_1$8 = ["title", "data-test-id"];
10
10
  const DEFAULT_WORKFLOW_NAME_LIMIT = 25;
11
11
  const WORKFLOW_NAME_END_COUNT_TO_KEEP = 4;
@@ -118,7 +118,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
118
118
  }
119
119
  });
120
120
  const _hoisted_1$7 = { class: "tags" };
121
- const _hoisted_2$2 = ["onClick"];
121
+ const _hoisted_2$3 = ["onClick"];
122
122
  const _sfc_main$b = /* @__PURE__ */ defineComponent({
123
123
  __name: "TagsContainer",
124
124
  props: {
@@ -257,7 +257,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
257
257
  ]),
258
258
  _: 2
259
259
  }, 1032, ["class", "data-id", "enabled", "event-bus"]))
260
- ], 10, _hoisted_2$2);
260
+ ], 10, _hoisted_2$3);
261
261
  }), 128))
262
262
  ])
263
263
  ]),
@@ -592,7 +592,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
592
592
  }
593
593
  });
594
594
  const _hoisted_1$2 = { key: 0 };
595
- const _hoisted_2$1 = { key: 1 };
595
+ const _hoisted_2$2 = { key: 1 };
596
596
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
597
597
  __name: "WorkflowHistoryButton",
598
598
  props: {
@@ -619,7 +619,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
619
619
  const _component_N8nTooltip = resolveComponent("N8nTooltip");
620
620
  return openBlock(), createBlock(_component_N8nTooltip, { placement: "bottom" }, {
621
621
  content: withCtx(() => [
622
- _ctx.isFeatureEnabled && _ctx.isNewWorkflow ? (openBlock(), createElementBlock("span", _hoisted_1$2, toDisplayString(unref(locale).baseText("workflowHistory.button.tooltip.empty")), 1)) : _ctx.isFeatureEnabled ? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(unref(locale).baseText("workflowHistory.button.tooltip.enabled")), 1)) : (openBlock(), createBlock(_component_i18n_t, {
622
+ _ctx.isFeatureEnabled && _ctx.isNewWorkflow ? (openBlock(), createElementBlock("span", _hoisted_1$2, toDisplayString(unref(locale).baseText("workflowHistory.button.tooltip.empty")), 1)) : _ctx.isFeatureEnabled ? (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(unref(locale).baseText("workflowHistory.button.tooltip.enabled")), 1)) : (openBlock(), createBlock(_component_i18n_t, {
623
623
  key: 2,
624
624
  keypath: "workflowHistory.button.tooltip.disabled"
625
625
  }, {
@@ -805,8 +805,8 @@ const _hoisted_1$1 = {
805
805
  class: "tags",
806
806
  "data-test-id": "workflow-tags-container"
807
807
  };
808
- const _hoisted_2 = { key: 1 };
809
- const _hoisted_3 = {
808
+ const _hoisted_2$1 = { key: 1 };
809
+ const _hoisted_3$1 = {
810
810
  key: 1,
811
811
  class: "tags"
812
812
  };
@@ -1333,7 +1333,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1333
1333
  "data-test-id": "workflow-tags-dropdown",
1334
1334
  onBlur: onTagsBlur,
1335
1335
  onEsc: onTagsEditEsc
1336
- }, null, 8, ["modelValue", "event-bus", "placeholder"])) : (_ctx.tags ?? []).length === 0 && !_ctx.readOnly && (isNewWorkflow.value || workflowPermissions.value.update) ? (openBlock(), createElementBlock("div", _hoisted_2, [
1336
+ }, null, 8, ["modelValue", "event-bus", "placeholder"])) : (_ctx.tags ?? []).length === 0 && !_ctx.readOnly && (isNewWorkflow.value || workflowPermissions.value.update) ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
1337
1337
  createBaseVNode("span", {
1338
1338
  class: "add-tag clickable",
1339
1339
  "data-test-id": "new-tag-link",
@@ -1347,7 +1347,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1347
1347
  "data-test-id": "workflow-tags",
1348
1348
  onClick: onTagsEditEnable
1349
1349
  }, null, 8, ["tag-ids"]))
1350
- ])) : (openBlock(), createElementBlock("span", _hoisted_3)),
1350
+ ])) : (openBlock(), createElementBlock("span", _hoisted_3$1)),
1351
1351
  createVNode(_sfc_main$g, { class: "actions" }, {
1352
1352
  default: withCtx(() => [
1353
1353
  createBaseVNode("span", {
@@ -1532,7 +1532,76 @@ const cssModules = {
1532
1532
  "$style": style0
1533
1533
  };
1534
1534
  const TabBar = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules]]);
1535
- const _hoisted_1 = { class: "top-menu" };
1535
+ const GithubButton = defineComponent({
1536
+ name: "github-button",
1537
+ props: {
1538
+ href: String,
1539
+ ariaLabel: String,
1540
+ title: String,
1541
+ dataIcon: String,
1542
+ dataColorScheme: String,
1543
+ dataSize: String,
1544
+ dataShowCount: String,
1545
+ dataText: String
1546
+ },
1547
+ render: function() {
1548
+ const props = { ref: "_" };
1549
+ for (const key in this.$props) {
1550
+ props[hyphenate(key)] = this.$props[key];
1551
+ }
1552
+ return h("span", [
1553
+ hasOwn(this.$slots, "default") ? h("a", props, this.$slots.default()) : h("a", props)
1554
+ ]);
1555
+ },
1556
+ mounted: function() {
1557
+ this.paint();
1558
+ },
1559
+ beforeUpdate: function() {
1560
+ this.reset();
1561
+ },
1562
+ updated: function() {
1563
+ this.paint();
1564
+ },
1565
+ beforeUnmount: function() {
1566
+ this.reset();
1567
+ },
1568
+ methods: {
1569
+ paint: function() {
1570
+ if (this.$el.lastChild !== this.$refs._) {
1571
+ return;
1572
+ }
1573
+ const _ = this.$el.appendChild(document.createElement("span"));
1574
+ const _this = this;
1575
+ __vitePreload(() => import(
1576
+ /* webpackMode: "eager" */
1577
+ "./buttons.esm-BOkmSohe.js"
1578
+ ), true ? [] : void 0).then(function(module) {
1579
+ if (_this.$el.lastChild !== _) {
1580
+ return;
1581
+ }
1582
+ module.render(_.appendChild(_this.$refs._), function(el) {
1583
+ if (_this.$el.lastChild !== _) {
1584
+ return;
1585
+ }
1586
+ _.parentNode.replaceChild(el, _);
1587
+ });
1588
+ });
1589
+ },
1590
+ reset: function() {
1591
+ if (this.$refs._ == null) {
1592
+ return;
1593
+ }
1594
+ this.$el.replaceChild(
1595
+ /** @type {HTMLAnchorElement} */
1596
+ this.$refs._,
1597
+ this.$el.lastChild
1598
+ );
1599
+ }
1600
+ }
1601
+ });
1602
+ const _hoisted_1 = { class: "container" };
1603
+ const _hoisted_2 = { class: "top-menu" };
1604
+ const _hoisted_3 = { class: "github-button" };
1536
1605
  const _sfc_main = /* @__PURE__ */ defineComponent({
1537
1606
  __name: "MainHeader",
1538
1607
  setup(__props) {
@@ -1644,11 +1713,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1644
1713
  }
1645
1714
  return (_ctx, _cache) => {
1646
1715
  var _a;
1647
- return openBlock(), createElementBlock("div", null, [
1716
+ return openBlock(), createElementBlock("div", _hoisted_1, [
1648
1717
  createBaseVNode("div", {
1649
1718
  class: normalizeClass({ "main-header": true, expanded: !unref(uiStore).sidebarMenuCollapsed })
1650
1719
  }, [
1651
- withDirectives(createBaseVNode("div", _hoisted_1, [
1720
+ withDirectives(createBaseVNode("div", _hoisted_2, [
1652
1721
  ((_a = workflow.value) == null ? void 0 : _a.name) ? (openBlock(), createBlock(WorkflowDetails, {
1653
1722
  key: 0,
1654
1723
  id: workflow.value.id,
@@ -1658,17 +1727,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1658
1727
  scopes: workflow.value.scopes,
1659
1728
  active: workflow.value.active,
1660
1729
  "read-only": readOnly.value
1661
- }, null, 8, ["id", "tags", "name", "meta", "scopes", "active", "read-only"])) : createCommentVNode("", true),
1662
- onWorkflowPage.value ? (openBlock(), createBlock(TabBar, {
1663
- key: 1,
1664
- items: tabBarItems.value,
1665
- "model-value": activeHeaderTab.value,
1666
- "onUpdate:modelValue": onTabSelected
1667
- }, null, 8, ["items", "model-value"])) : createCommentVNode("", true)
1730
+ }, null, 8, ["id", "tags", "name", "meta", "scopes", "active", "read-only"])) : createCommentVNode("", true)
1668
1731
  ], 512), [
1669
1732
  [vShow, !hideMenuBar.value]
1670
- ])
1671
- ], 2)
1733
+ ]),
1734
+ onWorkflowPage.value ? (openBlock(), createBlock(TabBar, {
1735
+ key: 0,
1736
+ items: tabBarItems.value,
1737
+ "model-value": activeHeaderTab.value,
1738
+ "onUpdate:modelValue": onTabSelected
1739
+ }, null, 8, ["items", "model-value"])) : createCommentVNode("", true)
1740
+ ], 2),
1741
+ createBaseVNode("div", _hoisted_3, [
1742
+ createVNode(unref(GithubButton), {
1743
+ href: "https://github.com/n8n-io/n8n",
1744
+ "data-color-scheme": unref(uiStore).appliedTheme,
1745
+ "data-size": "large",
1746
+ "data-show-count": "true",
1747
+ "aria-label": "Star n8n-io/n8n on GitHub"
1748
+ }, {
1749
+ default: withCtx(() => _cache[0] || (_cache[0] = [
1750
+ createTextVNode("Star")
1751
+ ])),
1752
+ _: 1
1753
+ }, 8, ["data-color-scheme"])
1754
+ ])
1672
1755
  ]);
1673
1756
  };
1674
1757
  }
@@ -190,7 +190,17 @@ input[disabled][data-v-87c6f53b] {
190
190
  -ms-flex-direction: column;
191
191
  flex-direction: column;
192
192
  }
193
- }.main-header {
193
+ }.container {
194
+ display: -webkit-box;
195
+ display: -ms-flexbox;
196
+ display: flex;
197
+ position: relative;
198
+ width: 100%;
199
+ -webkit-box-align: center;
200
+ -ms-flex-align: center;
201
+ align-items: center;
202
+ }
203
+ .main-header {
194
204
  background-color: var(--color-background-xlight);
195
205
  height: calc(var(--header-height) * 1px);
196
206
  width: 100%;
@@ -209,5 +219,20 @@ input[disabled][data-v-87c6f53b] {
209
219
  font-size: 0.9em;
210
220
  height: calc(var(--header-height) * 1px);
211
221
  font-weight: 400;
212
- padding: 0 var(--spacing-m) 0 var(--spacing-xs);
222
+ padding: 0 var(--spacing-m) 0 var(--spacing-m);
223
+ }
224
+ .github-button {
225
+ display: -webkit-box;
226
+ display: -ms-flexbox;
227
+ display: flex;
228
+ position: relative;
229
+ -webkit-box-align: center;
230
+ -ms-flex-align: center;
231
+ align-items: center;
232
+ height: calc(var(--header-height) * 1px);
233
+ padding-left: var(--spacing-m);
234
+ padding-right: var(--spacing-m);
235
+ background-color: var(--color-background-xlight);
236
+ border-bottom: var(--border-width-base) var(--border-style-base) var(--color-foreground-base);
237
+ border-left: var(--border-width-base) var(--border-style-base) var(--color-foreground-base);
213
238
  }
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, av as useLoadingService, K as useUIStore, a0 as useSourceControlStore, a as useToast, r as ref, p as computed, c as openBlock, h as createElementBlock, A as unref, n as normalizeClass, j as createBaseVNode, i as createVNode, k as createTextVNode, t as toDisplayString, w as withCtx, e as createBlock, f as createCommentVNode, B as normalizeStyle, g as useI18n, an as hasPermission, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, x as nextTick, aw as sourceControlEventBus, ax as SOURCE_CONTROL_PULL_MODAL_KEY, l as resolveComponent, C as createEventBus, _ as _export_sfc, ay as get, R as defineStore, S as STORES, az as useCloudPlanStore, Z as useRootStore, aA as useStorage, aB as DateTime, ak as useTelemetry, b as useRouter, a1 as useProjectsStore, a5 as usePageRedirectionHelper, o as onMounted, F as Fragment, z as renderList, V as VIEWS, aC as sortByProperty, m as useSettingsStore, aD as useTemplatesStore, u as useUsersStore, aE as useVersionsStore, T as useWorkflowsStore, J as useDebounce, U as useRoute, v as onBeforeUnmount, aF as createSlots, aG as useExternalHooks, aH as VERSIONS_MODAL_KEY, aI as ABOUT_MODAL_KEY } from "./index-7YFQEQmt.js";
2
- import { u as useBugReporting } from "./useBugReporting-IgwBNdXI.js";
1
+ import { d as defineComponent, az as useLoadingService, K as useUIStore, a0 as useSourceControlStore, a as useToast, r as ref, p as computed, c as openBlock, h as createElementBlock, A as unref, n as normalizeClass, j as createBaseVNode, i as createVNode, k as createTextVNode, t as toDisplayString, w as withCtx, e as createBlock, f as createCommentVNode, B as normalizeStyle, g as useI18n, an as hasPermission, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, x as nextTick, aA as sourceControlEventBus, aB as SOURCE_CONTROL_PULL_MODAL_KEY, l as resolveComponent, C as createEventBus, _ as _export_sfc, aC as get, R as defineStore, S as STORES, aD as useCloudPlanStore, Z as useRootStore, aE as useStorage, aF as DateTime, ak as useTelemetry, b as useRouter, a1 as useProjectsStore, a5 as usePageRedirectionHelper, o as onMounted, F as Fragment, z as renderList, V as VIEWS, aG as sortByProperty, m as useSettingsStore, aH as useTemplatesStore, u as useUsersStore, aI as useVersionsStore, T as useWorkflowsStore, J as useDebounce, U as useRoute, v as onBeforeUnmount, aJ as createSlots, aK as useExternalHooks, aL as VERSIONS_MODAL_KEY, aM as ABOUT_MODAL_KEY } from "./index-KRTOiXIE.js";
2
+ import { u as useBugReporting } from "./useBugReporting-DAqKvmOS.js";
3
3
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4
4
  __name: "MainSidebarSourceControl",
5
5
  props: {
@@ -638,13 +638,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
638
638
  position: "bottom",
639
639
  route: { to: { name: VIEWS.VARIABLES } }
640
640
  },
641
- {
642
- id: "executions",
643
- icon: "tasks",
644
- label: locale.baseText("mainSidebar.executions"),
645
- position: "bottom",
646
- route: { to: { name: VIEWS.EXECUTIONS } }
647
- },
648
641
  {
649
642
  id: "help",
650
643
  icon: "question",
@@ -1,6 +1,6 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-DMLTbzAt.js","assets/index-7YFQEQmt.js","assets/index-BFH_KxyA.css","assets/NodeViewSwitcher-B9JUn3eY.js","assets/RunDataAi-BKu1beM6.js","assets/RunDataAi-x30tU8-0.css","assets/FileSaver.min-DNytcjKT.js","assets/dateFormatter-C53K7zEn.js","assets/useWorkflowActivate-D_gK841h.js","assets/pushConnection.store-DbprXL-x.js","assets/useExecutionDebugging-CLORI_Ma.js","assets/useNodeViewVersionSwitcher-CJLQ5lju.js","assets/useBugReporting-IgwBNdXI.js","assets/NodeViewSwitcher-CnP5aYyg.css","assets/NodeCreator-CvOLgSO_.css"])))=>i.map(i=>d[i]);
2
- import { c_ as useNodeTypesStore, g0 as NODE_CREATOR_OPEN_SOURCES, p as computed, g as useI18n, ds as MANUAL_TRIGGER_NODE_TYPE, j6 as CHAIN_LLM_LANGCHAIN_NODE_TYPE, d9 as NodeConnectionType, de as CHAT_TRIGGER_NODE_TYPE, j7 as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, j8 as OPEN_AI_NODE_TYPE, fR as SPLIT_IN_BATCHES_NODE_TYPE, eO as NO_OP_NODE_TYPE, T as useWorkflowsStore, aG as useExternalHooks, dt as WEBHOOK_NODE_TYPE, ft as SCHEDULE_TRIGGER_NODE_TYPE, au as STICKY_NODE_TYPE, fv as MANUAL_CHAT_TRIGGER_NODE_TYPE, $ as useCanvasStore, fg as AI_CATEGORY_LANGUAGE_MODELS, fr as TRIGGER_NODE_CREATOR_VIEW, j9 as QA_CHAIN_NODE_TYPE, ja as AGENT_NODE_TYPE, jb as BASIC_CHAIN_NODE_TYPE, jc as OPEN_AI_ASSISTANT_NODE_TYPE, d as defineComponent, K as useUIStore, r as ref, jd as useThrottleFn, o as onMounted, v as onBeforeUnmount, l as resolveComponent, c as openBlock, h as createElementBlock, n as normalizeClass, j as createBaseVNode, i as createVNode, w as withCtx, g5 as KeyboardShortcutTooltip, f as createCommentVNode, e as createBlock, A as unref, aT as Suspense, F as Fragment, bd as defineAsyncComponent, en as __vitePreload, je as getMidCanvasPosition, jf as DEFAULT_STICKY_WIDTH, jg as DEFAULT_STICKY_HEIGHT, _ as _export_sfc } from "./index-7YFQEQmt.js";
3
- import { u as useNodeCreatorStore, t as transformNodeType, s as sortNodeCreateElements } from "./NodeViewSwitcher-B9JUn3eY.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-Dr6gHEkB.js","assets/index-KRTOiXIE.js","assets/index-r43k-wiC.css","assets/NodeViewSwitcher-Bg192dfN.js","assets/useRunWorkflow-3NXGqc8M.js","assets/useRunWorkflow-DH7ZzA8t.css","assets/FileSaver.min-BjmMGbea.js","assets/dateFormatter-DbqvzAoe.js","assets/useWorkflowActivate-DP_90b8S.js","assets/pushConnection.store-BaeC9SL1.js","assets/useExecutionDebugging-B5hEDeUo.js","assets/useNodeViewVersionSwitcher-DPTYc7jG.js","assets/useBugReporting-DAqKvmOS.js","assets/NodeViewSwitcher-DuVIKqpm.css","assets/NodeCreator-CvOLgSO_.css"])))=>i.map(i=>d[i]);
2
+ import { bf as useNodeTypesStore, gi as NODE_CREATOR_OPEN_SOURCES, p as computed, g as useI18n, dJ as MANUAL_TRIGGER_NODE_TYPE, jr as CHAIN_LLM_LANGCHAIN_NODE_TYPE, b8 as NodeConnectionType, a_ as CHAT_TRIGGER_NODE_TYPE, js as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, jt as OPEN_AI_NODE_TYPE, g9 as SPLIT_IN_BATCHES_NODE_TYPE, fb as NO_OP_NODE_TYPE, T as useWorkflowsStore, aK as useExternalHooks, dK as WEBHOOK_NODE_TYPE, fO as SCHEDULE_TRIGGER_NODE_TYPE, ay as STICKY_NODE_TYPE, $ as useCanvasStore, fB as AI_CATEGORY_LANGUAGE_MODELS, fM as TRIGGER_NODE_CREATOR_VIEW, ju as QA_CHAIN_NODE_TYPE, jv as AGENT_NODE_TYPE, jw as BASIC_CHAIN_NODE_TYPE, jx as OPEN_AI_ASSISTANT_NODE_TYPE, d as defineComponent, K as useUIStore, r as ref, jy as useThrottleFn, o as onMounted, v as onBeforeUnmount, l as resolveComponent, c as openBlock, h as createElementBlock, n as normalizeClass, j as createBaseVNode, i as createVNode, w as withCtx, gn as KeyboardShortcutTooltip, f as createCommentVNode, e as createBlock, A as unref, bs as Suspense, F as Fragment, bO as defineAsyncComponent, as as __vitePreload, jz as getMidCanvasPosition, jA as DEFAULT_STICKY_WIDTH, jB as DEFAULT_STICKY_HEIGHT, _ as _export_sfc } from "./index-KRTOiXIE.js";
3
+ import { u as useNodeCreatorStore, t as transformNodeType, s as sortNodeCreateElements } from "./NodeViewSwitcher-Bg192dfN.js";
4
4
  const useActions = () => {
5
5
  const nodeCreatorStore = useNodeCreatorStore();
6
6
  const nodeTypesStore = useNodeTypesStore();
@@ -114,7 +114,6 @@ const useActions = () => {
114
114
  return !isSingleNodeOpenSource && !hasTrigger && !workflowContainsTrigger && isTriggerPanel && !onlyStickyNodes;
115
115
  }
116
116
  function shouldPrependChatTrigger(addedNodes) {
117
- const { allNodes } = useWorkflowsStore();
118
117
  const COMPATIBLE_CHAT_NODES = [
119
118
  QA_CHAIN_NODE_TYPE,
120
119
  AGENT_NODE_TYPE,
@@ -122,11 +121,15 @@ const useActions = () => {
122
121
  OPEN_AI_ASSISTANT_NODE_TYPE,
123
122
  OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE
124
123
  ];
125
- const isChatTriggerMissing = allNodes.find(
126
- (node) => [MANUAL_CHAT_TRIGGER_NODE_TYPE, CHAT_TRIGGER_NODE_TYPE].includes(node.type)
127
- ) === void 0;
128
124
  const isCompatibleNode = addedNodes.some((node) => COMPATIBLE_CHAT_NODES.includes(node.type));
129
- return isCompatibleNode && isChatTriggerMissing;
125
+ if (!isCompatibleNode) return false;
126
+ const { allNodes, getNodeTypes } = useWorkflowsStore();
127
+ const { getByNameAndVersion } = getNodeTypes();
128
+ const shouldAddChatTrigger = allNodes.every((node) => {
129
+ const nodeType = getByNameAndVersion(node.type, node.typeVersion);
130
+ return !nodeType.description.group.includes("trigger") || node.type === MANUAL_TRIGGER_NODE_TYPE;
131
+ });
132
+ return shouldAddChatTrigger;
130
133
  }
131
134
  function shouldPrependLLMChain(addedNodes) {
132
135
  const canvasHasAINodes = useCanvasStore().aiNodes.length > 0;
@@ -246,7 +249,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
246
249
  emits: ["addNodes", "toggleNodeCreator"],
247
250
  setup(__props, { emit: __emit }) {
248
251
  const LazyNodeCreator = defineAsyncComponent(
249
- async () => await __vitePreload(() => import("./NodeCreator-DMLTbzAt.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]) : void 0)
252
+ async () => await __vitePreload(() => import("./NodeCreator-Dr6gHEkB.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]) : void 0)
250
253
  );
251
254
  const props = __props;
252
255
  const emit = __emit;
@@ -1,14 +1,14 @@
1
- import { cT as createCompounder, jp as memoize, fc as i18n, fT as HTTP_REQUEST_NODE_TYPE, jq as getCredentialOnlyNodeType, eV as CUSTOM_API_CALL_KEY, f9 as AI_SUBCATEGORY, d as defineComponent, c6 as reactive, o as onMounted, v as onBeforeUnmount, cr as toRefs, l as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, n as normalizeClass, f as createCommentVNode, aG as useExternalHooks, _ as _export_sfc, e1 as useNodeType, r as ref, p as computed, f6 as DEFAULT_SUBCATEGORY, jr as CREDENTIAL_ONLY_NODE_PREFIX, d5 as isCommunityPackageName, ca as resolveDirective, e as createBlock, aF as createSlots, w as withCtx, as as withDirectives, A as unref, d8 as COMMUNITY_NODES_INSTALLATION_DOCS_URL, d4 as _sfc_main$g, B as normalizeStyle, I as withModifiers, at as vShow, g as useI18n, gl as DRAG_EVENT_DATA_KEY, gk as getNewNodePosition, gm as NODE_SIZE, ak as useTelemetry, bQ as mergeProps, t as toDisplayString, dt as WEBHOOK_NODE_TYPE, q as renderSlot, T as useWorkflowsStore, H as watch, bR as normalizeProps, bt as guardReactiveProps, b_ as onUnmounted, F as Fragment, z as renderList, u as useUsersStore, fr as TRIGGER_NODE_CREATOR_VIEW, j8 as OPEN_AI_NODE_TYPE, j7 as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, cR as withMemo, bu as h, fx as REGULAR_NODE_CREATOR_VIEW, bb as createStaticVNode, k as createTextVNode, js as REQUEST_NODE_FORM_URL, K as useUIStore, Z as useRootStore, jt as getNodeIconUrl, ju as getNodeIcon, jv as getNodeIconColor, fd as AI_NODE_CREATOR_VIEW, fe as AI_OTHERS_NODE_CREATOR_VIEW, J as useDebounce, aX as Transition, iw as useAssistantStore, dy as useCredentialsStore, c_ as useNodeTypesStore, jw as SlideTransition } from "./index-7YFQEQmt.js";
2
- import { f as formatTriggerActionName, u as useNodeCreatorStore, a as useViewStacks, c as camelCase, b as useKeyboardNavigation, t as transformNodeType, d as flattenCreateElements, T as TriggerView, R as RegularView, A as AIView, e as AINodesView } from "./NodeViewSwitcher-B9JUn3eY.js";
3
- import { u as upperFirst } from "./RunDataAi-BKu1beM6.js";
4
- import { u as useActions } from "./NodeCreation-Ce1ct2i3.js";
5
- import "./FileSaver.min-DNytcjKT.js";
6
- import "./dateFormatter-C53K7zEn.js";
7
- import "./useWorkflowActivate-D_gK841h.js";
8
- import "./pushConnection.store-DbprXL-x.js";
9
- import "./useExecutionDebugging-CLORI_Ma.js";
10
- import "./useNodeViewVersionSwitcher-CJLQ5lju.js";
11
- import "./useBugReporting-IgwBNdXI.js";
1
+ import { dg as createCompounder, jL as memoize, fx as i18n, gb as HTTP_REQUEST_NODE_TYPE, jM as getCredentialOnlyNodeType, fi as CUSTOM_API_CALL_KEY, b1 as AI_SUBCATEGORY, d as defineComponent, cz as reactive, o as onMounted, v as onBeforeUnmount, aP as toRefs, l as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, n as normalizeClass, f as createCommentVNode, aK as useExternalHooks, _ as _export_sfc, r as ref, p as computed, ft as DEFAULT_SUBCATEGORY, jN as CREDENTIAL_ONLY_NODE_PREFIX, dt as isCommunityPackageName, cD as resolveDirective, e as createBlock, aJ as createSlots, w as withCtx, aw as withDirectives, A as unref, dw as COMMUNITY_NODES_INSTALLATION_DOCS_URL, ds as _sfc_main$h, B as normalizeStyle, I as withModifiers, ax as vShow, g as useI18n, gD as DRAG_EVENT_DATA_KEY, gC as getNewNodePosition, gE as NODE_SIZE, ak as useTelemetry, aS as mergeProps, t as toDisplayString, dK as WEBHOOK_NODE_TYPE, q as renderSlot, T as useWorkflowsStore, H as watch, aQ as normalizeProps, aR as guardReactiveProps, aX as onUnmounted, F as Fragment, z as renderList, fR as REGULAR_NODE_CREATOR_VIEW, u as useUsersStore, fM as TRIGGER_NODE_CREATOR_VIEW, jt as OPEN_AI_NODE_TYPE, js as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, de as withMemo, bM as createStaticVNode, k as createTextVNode, jO as REQUEST_NODE_FORM_URL, K as useUIStore, Z as useRootStore, jP as getNodeIconUrl, jQ as getNodeIcon, jR as getNodeIconColor, fy as AI_NODE_CREATOR_VIEW, fz as AI_OTHERS_NODE_CREATOR_VIEW, J as useDebounce, bw as Transition, hP as useAssistantStore, dS as useCredentialsStore, bf as useNodeTypesStore, jS as SlideTransition } from "./index-KRTOiXIE.js";
2
+ import { f as formatTriggerActionName, u as useNodeCreatorStore, a as useViewStacks, c as camelCase, b as useKeyboardNavigation, t as transformNodeType, d as flattenCreateElements, T as TriggerView, R as RegularView, A as AIView, e as AINodesView } from "./NodeViewSwitcher-Bg192dfN.js";
3
+ import { d as upperFirst, b as useNodeType } from "./useRunWorkflow-3NXGqc8M.js";
4
+ import { u as useActions } from "./NodeCreation-DP-aW4g1.js";
5
+ import "./FileSaver.min-BjmMGbea.js";
6
+ import "./dateFormatter-DbqvzAoe.js";
7
+ import "./useWorkflowActivate-DP_90b8S.js";
8
+ import "./pushConnection.store-BaeC9SL1.js";
9
+ import "./useExecutionDebugging-B5hEDeUo.js";
10
+ import "./useNodeViewVersionSwitcher-DPTYc7jG.js";
11
+ import "./useBugReporting-DAqKvmOS.js";
12
12
  var startCase = createCompounder(function(result, word, index) {
13
13
  return result + (index ? " " : "") + upperFirst(word);
14
14
  });
@@ -291,7 +291,7 @@ function useActionsGenerator() {
291
291
  };
292
292
  }
293
293
  const _hoisted_1$7 = ["placeholder", "value"];
294
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
294
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
295
295
  __name: "SearchBar",
296
296
  props: {
297
297
  placeholder: { default: "" },
@@ -388,8 +388,8 @@ const style0$e = {
388
388
  const cssModules$e = {
389
389
  "$style": style0$e
390
390
  };
391
- const SearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__cssModules", cssModules$e]]);
392
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
391
+ const SearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__cssModules", cssModules$e]]);
392
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
393
393
  __name: "NodeItem",
394
394
  props: {
395
395
  nodeType: {},
@@ -498,7 +498,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
498
498
  key: 0,
499
499
  class: normalizeClass(_ctx.$style.subNodeBackground)
500
500
  }, null, 2)) : createCommentVNode("", true),
501
- createVNode(_sfc_main$g, {
501
+ createVNode(_sfc_main$h, {
502
502
  class: normalizeClass(_ctx.$style.nodeIcon),
503
503
  "node-type": _ctx.nodeType
504
504
  }, null, 8, ["class", "node-type"])
@@ -513,7 +513,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
513
513
  class: normalizeClass(_ctx.$style.draggable),
514
514
  style: normalizeStyle(draggableStyle.value)
515
515
  }, [
516
- createVNode(_sfc_main$g, {
516
+ createVNode(_sfc_main$h, {
517
517
  "node-type": _ctx.nodeType,
518
518
  size: 40,
519
519
  shrink: false,
@@ -567,8 +567,8 @@ const style0$d = {
567
567
  const cssModules$d = {
568
568
  "$style": style0$d
569
569
  };
570
- const NodeItem = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__cssModules", cssModules$d]]);
571
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
570
+ const NodeItem = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__cssModules", cssModules$d]]);
571
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
572
572
  __name: "SubcategoryItem",
573
573
  props: {
574
574
  item: {}
@@ -607,9 +607,9 @@ const style0$c = {
607
607
  const cssModules$c = {
608
608
  "$style": style0$c
609
609
  };
610
- const SubcategoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__cssModules", cssModules$c]]);
610
+ const SubcategoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__cssModules", cssModules$c]]);
611
611
  const _hoisted_1$6 = ["textContent"];
612
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
612
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
613
613
  __name: "LabelItem",
614
614
  props: {
615
615
  item: {}
@@ -634,8 +634,8 @@ const style0$b = {
634
634
  const cssModules$b = {
635
635
  "$style": style0$b
636
636
  };
637
- const LabelItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__cssModules", cssModules$b]]);
638
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
637
+ const LabelItem = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__cssModules", cssModules$b]]);
638
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
639
639
  __name: "ActionItem",
640
640
  props: {
641
641
  nodeType: {},
@@ -725,7 +725,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
725
725
  class: normalizeClass(_ctx.$style.draggable),
726
726
  style: normalizeStyle(draggableStyle.value)
727
727
  }, [
728
- createVNode(_sfc_main$g, {
728
+ createVNode(_sfc_main$h, {
729
729
  "node-type": _ctx.nodeType,
730
730
  size: 40,
731
731
  shrink: false,
@@ -737,7 +737,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
737
737
  ])
738
738
  ]),
739
739
  icon: withCtx(() => [
740
- createVNode(_sfc_main$g, { "node-type": _ctx.action }, null, 8, ["node-type"])
740
+ createVNode(_sfc_main$h, { "node-type": _ctx.action }, null, 8, ["node-type"])
741
741
  ]),
742
742
  _: 1
743
743
  }, 8, ["class", "title", "is-trigger"]);
@@ -757,8 +757,8 @@ const style0$a = {
757
757
  const cssModules$a = {
758
758
  "$style": style0$a
759
759
  };
760
- const ActionItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__cssModules", cssModules$a]]);
761
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
760
+ const ActionItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__cssModules", cssModules$a]]);
761
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
762
762
  __name: "ViewItem",
763
763
  props: {
764
764
  view: {}
@@ -795,8 +795,8 @@ const style0$9 = {
795
795
  const cssModules$9 = {
796
796
  "$style": style0$9
797
797
  };
798
- const ViewItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__cssModules", cssModules$9]]);
799
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
798
+ const ViewItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__cssModules", cssModules$9]]);
799
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
800
800
  __name: "LinkItem",
801
801
  props: {
802
802
  link: {}
@@ -833,9 +833,9 @@ const style0$8 = {
833
833
  const cssModules$8 = {
834
834
  "$style": style0$8
835
835
  };
836
- const LinkItem = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__cssModules", cssModules$8]]);
836
+ const LinkItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__cssModules", cssModules$8]]);
837
837
  const _hoisted_1$5 = ["textContent"];
838
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
838
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
839
839
  __name: "CategoryItem",
840
840
  props: {
841
841
  expanded: { type: Boolean, default: true },
@@ -904,9 +904,9 @@ const style0$7 = {
904
904
  const cssModules$7 = {
905
905
  "$style": style0$7
906
906
  };
907
- const CategoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__cssModules", cssModules$7]]);
907
+ const CategoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__cssModules", cssModules$7]]);
908
908
  const _hoisted_1$4 = ["data-category-collapsed"];
909
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
909
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
910
910
  __name: "CategorizedItemsRenderer",
911
911
  props: {
912
912
  elements: { default: () => [] },
@@ -1053,12 +1053,12 @@ const style0$6 = {
1053
1053
  const cssModules$6 = {
1054
1054
  "$style": style0$6
1055
1055
  };
1056
- const CategorizedItemsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__cssModules", cssModules$6]]);
1056
+ const CategorizedItemsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__cssModules", cssModules$6]]);
1057
1057
  const _hoisted_1$3 = { key: 0 };
1058
1058
  const _hoisted_2$2 = ["data-keyboard-nav-type", "data-keyboard-nav-id", "onClick"];
1059
1059
  const LAZY_LOAD_THRESHOLD = 20;
1060
1060
  const LAZY_LOAD_ITEMS_PER_TICK = 5;
1061
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
1061
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
1062
1062
  __name: "ItemsRenderer",
1063
1063
  props: {
1064
1064
  elements: { default: () => [] },
@@ -1242,7 +1242,26 @@ const style0$5 = {
1242
1242
  const cssModules$5 = {
1243
1243
  "$style": style0$5
1244
1244
  };
1245
- const ItemsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__cssModules", cssModules$5]]);
1245
+ const ItemsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__cssModules", cssModules$5]]);
1246
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
1247
+ __name: "OrderSwitcher",
1248
+ props: {
1249
+ rootView: {}
1250
+ },
1251
+ setup(__props) {
1252
+ return (_ctx, _cache) => {
1253
+ return openBlock(), createElementBlock("div", null, [
1254
+ _ctx.rootView === unref(REGULAR_NODE_CREATOR_VIEW) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1255
+ renderSlot(_ctx.$slots, "actions"),
1256
+ renderSlot(_ctx.$slots, "triggers")
1257
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1258
+ renderSlot(_ctx.$slots, "triggers"),
1259
+ renderSlot(_ctx.$slots, "actions")
1260
+ ], 64))
1261
+ ]);
1262
+ };
1263
+ }
1264
+ });
1246
1265
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1247
1266
  __name: "ActionsMode",
1248
1267
  emits: ["nodeTypeSelected"],
@@ -1385,24 +1404,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1385
1404
  });
1386
1405
  nodeCreatorStore.onActionsCustomAPIClicked({ app_identifier });
1387
1406
  }
1388
- const OrderSwitcher = defineComponent({
1389
- props: {
1390
- rootView: {
1391
- type: String,
1392
- required: true
1393
- }
1394
- },
1395
- setup(props, { slots }) {
1396
- return () => {
1397
- var _a, _b, _c, _d;
1398
- return h(
1399
- "div",
1400
- {},
1401
- props.rootView === REGULAR_NODE_CREATOR_VIEW ? [(_a = slots.actions) == null ? void 0 : _a.call(slots), (_b = slots.triggers) == null ? void 0 : _b.call(slots)] : [(_c = slots.triggers) == null ? void 0 : _c.call(slots), (_d = slots.actions) == null ? void 0 : _d.call(slots)]
1402
- );
1403
- };
1404
- }
1405
- });
1406
1407
  onMounted(() => {
1407
1408
  trackActionsView();
1408
1409
  });
@@ -1413,7 +1414,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1413
1414
  return openBlock(), createElementBlock("div", {
1414
1415
  class: normalizeClass(_ctx.$style.container)
1415
1416
  }, [
1416
- rootView.value ? (openBlock(), createBlock(unref(OrderSwitcher), {
1417
+ rootView.value ? (openBlock(), createBlock(_sfc_main$6, {
1417
1418
  key: 0,
1418
1419
  "root-view": rootView.value
1419
1420
  }, createSlots({ _: 2 }, [