n8n-editor-ui 1.89.1 → 1.90.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 (117) hide show
  1. package/dist/assets/{AnimatedSpinner-BpxWKaCw.js → AnimatedSpinner-ChThynSJ.js} +1 -1
  2. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-C2T62K8N.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WGp2Kuen.js} +1 -1
  3. package/dist/assets/{AuthView-ChkPGgg-.js → AuthView-Dlhn_SQ-.js} +2 -2
  4. package/dist/assets/CanvasChatSwitch-BuBg7TJP.js +265 -0
  5. package/dist/assets/CanvasChatSwitch-CaiSjHFG.css +345 -0
  6. package/dist/assets/{ChangePasswordView-B38Kck9y.js → ChangePasswordView-BKYXOoDf.js} +3 -3
  7. package/dist/assets/CollectionParameter-CQXiWluX.js +4 -0
  8. package/dist/assets/{CredentialsView-DwxRSqpp.js → CredentialsView-BNWIgrLb.js} +6 -6
  9. package/dist/assets/DemoFooter-DR6r_2qR.js +25 -0
  10. package/dist/assets/{ErrorView-CbG0Uo6R.js → ErrorView-Bu8Mt5FH.js} +1 -1
  11. package/dist/assets/{ExecutionsTime-DZHUIJjP.css → ExecutionsTime-BuE0lHT6.css} +24 -15
  12. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-TkWqVC7U.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DvtOOOhh.js} +20 -15
  13. package/dist/assets/{ExecutionsView-Cm0glOsn.js → ExecutionsView-C0WZAIi0.js} +8 -8
  14. package/dist/assets/{FileSaver.min-DbOfV2ME.js → FileSaver.min-Cm0u4qyc.js} +1 -1
  15. package/dist/assets/{FixedCollectionParameter-DESxP1XH.js → FixedCollectionParameter-KmRZtBiP.js} +1 -1
  16. package/dist/assets/{ForgotMyPasswordView-Bhgql4BX.js → ForgotMyPasswordView-GH7SqEFu.js} +3 -3
  17. package/dist/assets/{InsightsChartAverageRuntime-B_W8xSC9.js → InsightsChartAverageRuntime-SeBUN06R.js} +4 -4
  18. package/dist/assets/{InsightsChartFailed-Buf2QmpB.js → InsightsChartFailed-TYjH8LwV.js} +4 -4
  19. package/dist/assets/{InsightsChartFailureRate-DHs26Nrr.js → InsightsChartFailureRate-D41Jv-6v.js} +4 -4
  20. package/dist/assets/{InsightsChartTimeSaved-Bjicuurm.js → InsightsChartTimeSaved-TLPDAmPx.js} +4 -4
  21. package/dist/assets/{InsightsChartTotal-BodC7Sun.js → InsightsChartTotal-CaKTe2mv.js} +4 -4
  22. package/dist/assets/{InsightsDashboard-CkipcaZC.js → InsightsDashboard-o3JS9fjz.js} +10 -10
  23. package/dist/assets/{InsightsPaywall-BoFT-Ik-.js → InsightsPaywall-Z4Y0nO-i.js} +1 -1
  24. package/dist/assets/{InsightsSummary-C-_stVav.js → InsightsSummary-DzYli0Pu.js} +1 -1
  25. package/dist/assets/{InsightsTableWorkflows-DvkAMkT2.js → InsightsTableWorkflows-CUHAG57c.js} +2 -2
  26. package/dist/assets/{Logo-DjpNa7ha.js → Logo-Dxp4M9dy.js} +1 -1
  27. package/dist/assets/{CanvasChatSwitch-BDVIAjN6.css → LogsPanel-DmPMCt9w.css} +425 -324
  28. package/dist/assets/{CanvasChatSwitch-B5IdrA6Q.js → LogsPanel-zIrTNE6j.js} +985 -641
  29. package/dist/assets/{MainHeader-BIrklbRX.js → MainHeader-D4cIIoUA.js} +9 -9
  30. package/dist/assets/{MainSidebar-QVA1U4KK.js → MainSidebar-BtW-9UPT.js} +2 -2
  31. package/dist/assets/{NodeCreation-BR_PsZYm.js → NodeCreation-thD32mA1.js} +4 -4
  32. package/dist/assets/{NodeCreator-BAsdokTf.js → NodeCreator-B4mHaU45.js} +3 -3
  33. package/dist/assets/{NodeDetailsView-B2kdGJ7R.css → NodeDetailsView-CGgV4Pn_.css} +27 -1185
  34. package/dist/assets/{NodeDetailsView-Ao8qCvow.js → NodeDetailsView-cO3Ci9jH.js} +169 -2683
  35. package/dist/assets/{NodeView-CY5L1Bmm.js → NodeView-E5b1ClVD.js} +12 -12
  36. package/dist/assets/{ProjectCardBadge-BiJ9Jmbm.js → ProjectCardBadge-LnLKqSK-.js} +5 -9
  37. package/dist/assets/{ProjectHeader-D42fsSzg.js → ProjectHeader-DC02ZuZ0.js} +1 -1
  38. package/dist/assets/{ProjectSettings-IPFHN7l5.js → ProjectSettings-Zr1UOp7s.js} +2 -2
  39. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DOXKnjAX.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-CM7WIpD3.js} +1 -1
  40. package/dist/assets/{ResourcesListLayout-b44J07nq.css → ResourcesListLayout-CglK2dXR.css} +8 -8
  41. package/dist/assets/{ResourcesListLayout-B_Otf91D.js → ResourcesListLayout-DTsuHdYx.js} +2 -10
  42. package/dist/assets/RunData-DepHcD2K.css +1833 -0
  43. package/dist/assets/RunData-Ds-U68nr.js +5104 -0
  44. package/dist/assets/{RunDataAi-CUUDqZRP.css → RunDataAi-BF2gZZGr.css} +0 -408
  45. package/dist/assets/RunDataAi-DdK11EHU.js +750 -0
  46. package/dist/assets/{RunDataJson-BRO48N-i.js → RunDataJson-B2WU5od1.js} +7 -11
  47. package/dist/assets/{RunDataJsonActions-C4DFiOh8.js → RunDataJsonActions-DqZ2X1yJ.js} +1 -1
  48. package/dist/assets/{RunDataSearch-CNfhlvrK.js → RunDataSearch-CQsyZvGK.js} +1 -1
  49. package/dist/assets/{RunDataTable-DEgXQifj.js → RunDataTable-BO0R4JT_.js} +36 -30
  50. package/dist/assets/{RunDataTable-CX7gToH4.css → RunDataTable-DyUvXWfl.css} +47 -41
  51. package/dist/assets/{SamlOnboarding-D903XflA.js → SamlOnboarding-CmwMX5y2.js} +3 -3
  52. package/dist/assets/{SettingsApiView-DCMVAa53.js → SettingsApiView-D6uBbi9-.js} +5 -5
  53. package/dist/assets/{SettingsCommunityNodesView-BBuil15J.js → SettingsCommunityNodesView-CJODtx_K.js} +4 -4
  54. package/dist/assets/{SettingsExternalSecrets-CXRYGUXv.js → SettingsExternalSecrets-CVk14P_P.js} +1 -1
  55. package/dist/assets/{SettingsLdapView-DhoxhX3J.js → SettingsLdapView-pg71FErj.js} +1 -1
  56. package/dist/assets/{SettingsLogStreamingView-CxZag4Od.js → SettingsLogStreamingView-DUOI3Xb9.js} +1 -1
  57. package/dist/assets/{SettingsPersonalView-wcvMUVmj.js → SettingsPersonalView-BFnOmBPC.js} +1 -1
  58. package/dist/assets/{SettingsSourceControl-1-N8xA9J.js → SettingsSourceControl-BUNmxcvB.js} +1 -1
  59. package/dist/assets/{SettingsSso-BwySnCiN.js → SettingsSso-Dx8Qw_2Z.js} +1 -1
  60. package/dist/assets/{SettingsUsageAndPlan-CDI4k6UQ.js → SettingsUsageAndPlan-DTk86tXU.js} +1 -1
  61. package/dist/assets/{SettingsUsersView-tEm96Fhw.js → SettingsUsersView-BviXcl30.js} +1 -1
  62. package/dist/assets/{SettingsView-AhipcaOB.js → SettingsView-fzPdUijx.js} +1 -1
  63. package/dist/assets/{SetupView-BnsG-7jD.js → SetupView-DUTx1JXK.js} +3 -3
  64. package/dist/assets/{SetupWorkflowCredentialsButton-BNGDx7Fp.js → SetupWorkflowCredentialsButton-fApxCGHh.js} +1 -1
  65. package/dist/assets/{SetupWorkflowFromTemplateView-BuoOdqHT.js → SetupWorkflowFromTemplateView-C5t9fEKF.js} +3 -3
  66. package/dist/assets/{SigninView-UJnLl-xs.js → SigninView-BRVoXQRW.js} +3 -3
  67. package/dist/assets/{SignoutView-e5mZU_R6.js → SignoutView-Duh6wb4Y.js} +1 -1
  68. package/dist/assets/{SignupView-cdwgpaEM.js → SignupView-DMkpTtjs.js} +3 -3
  69. package/dist/assets/{TemplateDetails-DcoAjVlw.js → TemplateDetails-Df9_jph6.js} +1 -1
  70. package/dist/assets/{TemplateList-B6SXDRtt.js → TemplateList-qSnJvw0K.js} +1 -1
  71. package/dist/assets/{TemplatesCollectionView-BZmufr5v.js → TemplatesCollectionView--ccYXaCo.js} +5 -5
  72. package/dist/assets/{TemplatesSearchView-BJhZMdAl.js → TemplatesSearchView-D1YgHKld.js} +3 -3
  73. package/dist/assets/{TemplatesView-CSnT6pfC.js → TemplatesView-B9CwObHN.js} +1 -1
  74. package/dist/assets/{TemplatesWorkflowView-4ejYFisG.js → TemplatesWorkflowView-DtLpUF59.js} +5 -5
  75. package/dist/assets/{TestDefinitionEditView-BLJQ7-fz.js → TestDefinitionEditView-DFcBlKnN.js} +7 -7
  76. package/dist/assets/{TestDefinitionListView-uZmtRG_H.js → TestDefinitionListView-C_mbolTO.js} +1 -1
  77. package/dist/assets/{TestDefinitionNewView-Dfav_UeD.js → TestDefinitionNewView-CvyM6TLE.js} +2 -2
  78. package/dist/assets/{TestDefinitionRootView-CbVp9ZuX.js → TestDefinitionRootView-BXzJY0cY.js} +1 -1
  79. package/dist/assets/{VariablesView-CTSEc1xT.js → VariablesView-BHFJj5IU.js} +3 -3
  80. package/dist/assets/{WorkerView-s6aBeHSb.js → WorkerView-CgIksFjP.js} +6 -6
  81. package/dist/assets/{WorkflowActivator-BeUvx9Ri.js → WorkflowActivator-O6i5XAk2.js} +2 -2
  82. package/dist/assets/{WorkflowExecutionsInfoAccordion-BBtwnPZQ.css → WorkflowExecutionsInfoAccordion-53bC-IXN.css} +10 -8
  83. package/dist/assets/{WorkflowExecutionsInfoAccordion-D9wF-tSd.js → WorkflowExecutionsInfoAccordion-BcBLZ_Ul.js} +3 -3
  84. package/dist/assets/{WorkflowExecutionsLandingPage-CROT9lXB.js → WorkflowExecutionsLandingPage-B9ByHnbR.js} +2 -2
  85. package/dist/assets/{WorkflowExecutionsPreview-DyVQaOZ3.js → WorkflowExecutionsPreview-DCE7TYLh.js} +6 -6
  86. package/dist/assets/{WorkflowExecutionsView-T9-QI3Ve.js → WorkflowExecutionsView-DFoBpdS7.js} +7 -7
  87. package/dist/assets/{WorkflowHistory-271ecFaP.js → WorkflowHistory-DolmPUM2.js} +3 -3
  88. package/dist/assets/{WorkflowOnboardingView-C10O8PHR.js → WorkflowOnboardingView-DQW48M8_.js} +1 -1
  89. package/dist/assets/{WorkflowPreview-B58e-sbx.js → WorkflowPreview-BFR6V9SO.js} +1 -1
  90. package/dist/assets/{WorkflowsView-tVTdlhV1.js → WorkflowsView-B-feKuLZ.js} +348 -60
  91. package/dist/assets/{WorkflowsView-DV1tjQwB.css → WorkflowsView-CsM69PSv.css} +41 -16
  92. package/dist/assets/{chartjs.utils-B5AYF7KA.js → chartjs.utils-BcXTJ2Te.js} +2 -2
  93. package/dist/assets/{dateFormatter-DP26ifk_.js → dateFormatter-CZI1kGYK.js} +1 -1
  94. package/dist/assets/{easyAiWorkflowUtils-BC_3x-4F.js → easyAiWorkflowUtils-ChToD_Yl.js} +1 -1
  95. package/dist/assets/{global-link-actions-BxV1MUKt.js → global-link-actions-OGaZVwsw.js} +1 -1
  96. package/dist/assets/{import-curl-DVtpAPDa.js → import-curl-CAszzwx1.js} +1 -1
  97. package/dist/assets/{index-DpLYcjet.js → index-7WdERzqm.js} +1 -1
  98. package/dist/assets/{index-CN4JmOoA.js → index-BpdkKRP4.js} +2544 -2121
  99. package/dist/assets/{index-DwKuVkBg.css → index-C5OXOcIJ.css} +176 -111
  100. package/dist/assets/{pickBy-BAPZ2mk0.js → pickBy-mYqFOFbh.js} +1 -1
  101. package/dist/assets/{templateActions-Hi9EBouz.js → templateActions-BX9arLbc.js} +1 -1
  102. package/dist/assets/{typescript.worker-Bt3bByTc.js → typescript.worker-BsxN2afA.js} +1 -1
  103. package/dist/assets/{useBeforeUnload-CQDQ2xRD.js → useBeforeUnload-K7nQ15Rk.js} +1 -1
  104. package/dist/assets/{useCanvasMapping-BkGr1HdJ.css → useCanvasMapping-C--wac6H.css} +8 -9
  105. package/dist/assets/{useCanvasMapping-BrMdYioA.js → useCanvasMapping-D_UPCxYX.js} +37 -30
  106. package/dist/assets/{useCanvasOperations-BW3qnkOc.js → useCanvasOperations-D6VFiC3b.js} +17 -71
  107. package/dist/assets/{useClearExecutionButtonVisible-CRcafrkD.js → useClearExecutionButtonVisible-D_0O6f0X.js} +2 -2
  108. package/dist/assets/{useExecutionDebugging-Dy0Nq0u2.js → useExecutionDebugging-BNMaKOh7.js} +1 -1
  109. package/dist/assets/{useExecutionHelpers-Bet0YWvb.js → useExecutionHelpers-DN5HqPqY.js} +2 -2
  110. package/dist/assets/{useImportCurlCommand-CJX2AaLN.js → useImportCurlCommand-BSL596XF.js} +2 -2
  111. package/dist/assets/{usePushConnection-RVgJVlWm.js → usePushConnection-BdV7ILvK.js} +3 -3
  112. package/dist/assets/{useTestDefinitionForm-DjJ6ywy3.js → useTestDefinitionForm-CIhrxyve.js} +1 -1
  113. package/dist/assets/{useWorkflowActivate-BZzKuzDM.js → useWorkflowActivate-pZ62ib_C.js} +1 -1
  114. package/dist/index.html +2 -2
  115. package/package.json +1 -1
  116. package/dist/assets/CollectionParameter-DJtdOCSL.js +0 -4
  117. package/dist/assets/RunDataAi-DsidSvp-.js +0 -3166
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, i as createElementBlock, g as openBlock, gj as createStaticVNode } from "./index-CN4JmOoA.js";
1
+ import { _ as _export_sfc, i as createElementBlock, g as openBlock, gN as createStaticVNode } from "./index-BpdkKRP4.js";
2
2
  const _sfc_main = {};
3
3
  const _hoisted_1 = {
4
4
  width: "14",
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, fR as useAnnotationTagsStore, L as useUIStore, q as computed, e as createBlock, g as openBlock, fS as _sfc_main$1, fT as ANNOTATION_TAGS_MANAGER_MODAL_KEY } from "./index-CN4JmOoA.js";
1
+ import { d as defineComponent, gf as useAnnotationTagsStore, L as useUIStore, q as computed, e as createBlock, g as openBlock, gg as _sfc_main$1, gh as ANNOTATION_TAGS_MANAGER_MODAL_KEY } from "./index-BpdkKRP4.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "AnnotationTagsDropdown.ee",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { L as Logo } from "./Logo-DjpNa7ha.js";
2
- import { d as defineComponent, cx as useSSOStore, a as useToast, h as resolveComponent, i as createElementBlock, f as createCommentVNode, m as unref, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, t as toDisplayString, c as useI18n, _ as _export_sfc, p as useSettingsStore, w as withCtx, l as createTextVNode, e as createBlock, b3 as mergeProps } from "./index-CN4JmOoA.js";
1
+ import { L as Logo } from "./Logo-Dxp4M9dy.js";
2
+ import { d as defineComponent, cy as useSSOStore, a as useToast, h as resolveComponent, i as createElementBlock, f as createCommentVNode, m as unref, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, t as toDisplayString, c as useI18n, _ as _export_sfc, p as useSettingsStore, w as withCtx, l as createTextVNode, e as createBlock, b7 as mergeProps } from "./index-BpdkKRP4.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "SSOLogin",
5
5
  setup(__props) {
@@ -0,0 +1,265 @@
1
+ import { u as useResize, a as usePiPWindow, b as useChatState, C as ChatMessagesPanel, L as LogsPanel } from "./LogsPanel-zIrTNE6j.js";
2
+ import { R as RunDataAi } from "./RunDataAi-DdK11EHU.js";
3
+ import { d as defineComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, l as createTextVNode, f as createCommentVNode, t as toDisplayString, m as unref, c as useI18n, x as renderSlot, e as createBlock, _ as _export_sfc, U as useWorkflowsStore, a2 as useCanvasStore, r as ref, aZ as useTemplateRef, q as computed, a_ as LOGS_PANEL_STATE, a$ as watchEffect, h as resolveComponent, b0 as N8nResizeWrapper, B as normalizeStyle, w as withCtx, j as createVNode, ai as useTelemetry, p as useSettingsStore } from "./index-BpdkKRP4.js";
4
+ import "./useClearExecutionButtonVisible-D_0O6f0X.js";
5
+ import "./useCanvasOperations-D6VFiC3b.js";
6
+ import "./RunData-Ds-U68nr.js";
7
+ import "./FileSaver.min-Cm0u4qyc.js";
8
+ import "./useExecutionHelpers-DN5HqPqY.js";
9
+ import "./dateFormatter-CZI1kGYK.js";
10
+ const _hoisted_1 = { class: "meta" };
11
+ const _hoisted_2 = { key: 0 };
12
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
13
+ __name: "ChatLogsPanel",
14
+ props: {
15
+ node: {},
16
+ slim: { type: Boolean },
17
+ workflow: {}
18
+ },
19
+ setup(__props) {
20
+ const locale = useI18n();
21
+ return (_ctx, _cache) => {
22
+ return openBlock(), createElementBlock("div", {
23
+ class: normalizeClass(_ctx.$style.logsWrapper),
24
+ "data-test-id": "lm-chat-logs"
25
+ }, [
26
+ createBaseVNode("header", {
27
+ class: normalizeClass(_ctx.$style.logsHeader)
28
+ }, [
29
+ createBaseVNode("div", _hoisted_1, [
30
+ createTextVNode(toDisplayString(unref(locale).baseText("chat.window.logs")) + " ", 1),
31
+ _ctx.node ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(locale).baseText("chat.window.logsFromNode", { interpolate: { nodeName: _ctx.node.name } })), 1)) : createCommentVNode("", true)
32
+ ]),
33
+ createBaseVNode("div", {
34
+ class: normalizeClass(_ctx.$style.actions)
35
+ }, [
36
+ renderSlot(_ctx.$slots, "actions")
37
+ ], 2)
38
+ ], 2),
39
+ createBaseVNode("div", {
40
+ class: normalizeClass(_ctx.$style.logs)
41
+ }, [
42
+ _ctx.node ? (openBlock(), createBlock(RunDataAi, {
43
+ key: 0,
44
+ class: normalizeClass(_ctx.$style.runData),
45
+ node: _ctx.node,
46
+ workflow: _ctx.workflow,
47
+ slim: _ctx.slim
48
+ }, null, 8, ["class", "node", "workflow", "slim"])) : createCommentVNode("", true)
49
+ ], 2)
50
+ ], 2);
51
+ };
52
+ }
53
+ });
54
+ const logsHeader = "_logsHeader_1n9n2_123";
55
+ const logsWrapper = "_logsWrapper_1n9n2_140";
56
+ const logsTitle = "_logsTitle_1n9n2_149";
57
+ const logs$1 = "_logs_1n9n2_123";
58
+ const actions = "_actions_1n9n2_159";
59
+ const style0$1 = {
60
+ logsHeader,
61
+ logsWrapper,
62
+ logsTitle,
63
+ logs: logs$1,
64
+ actions
65
+ };
66
+ const cssModules$1 = {
67
+ "$style": style0$1
68
+ };
69
+ const ChatLogsPanel = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$1]]);
70
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
71
+ __name: "CanvasChat",
72
+ setup(__props, { expose: __expose }) {
73
+ const workflowsStore = useWorkflowsStore();
74
+ const canvasStore = useCanvasStore();
75
+ const container2 = ref();
76
+ const pipContainer = useTemplateRef("pipContainer");
77
+ const pipContent2 = useTemplateRef("pipContent");
78
+ const workflow = computed(() => workflowsStore.getCurrentWorkflow());
79
+ const chatPanelState = computed(() => workflowsStore.logsPanelState);
80
+ const previousChatMessages = computed(() => workflowsStore.getPastChatMessages);
81
+ const resultData = computed(() => workflowsStore.getWorkflowRunData);
82
+ const telemetry = useTelemetry();
83
+ const {
84
+ height,
85
+ chatWidth,
86
+ rootStyles,
87
+ logsWidth,
88
+ onResizeDebounced,
89
+ onResizeChatDebounced,
90
+ onWindowResize
91
+ } = useResize(container2);
92
+ const { canPopOut, isPoppedOut, pipWindow } = usePiPWindow({
93
+ initialHeight: 400,
94
+ initialWidth: window.document.body.offsetWidth * 0.8,
95
+ container: pipContainer,
96
+ content: pipContent2,
97
+ shouldPopOut: computed(() => chatPanelState.value === LOGS_PANEL_STATE.FLOATING),
98
+ onRequestClose: () => {
99
+ if (chatPanelState.value === LOGS_PANEL_STATE.CLOSED) {
100
+ return;
101
+ }
102
+ telemetry.track("User toggled log view", { new_state: "attached" });
103
+ workflowsStore.setPreferPoppedOutLogsView(false);
104
+ }
105
+ });
106
+ const {
107
+ currentSessionId,
108
+ messages,
109
+ chatTriggerNode,
110
+ connectedNode,
111
+ sendMessage,
112
+ refreshSession,
113
+ displayExecution
114
+ } = useChatState(false, onWindowResize);
115
+ __expose({
116
+ messages,
117
+ currentSessionId,
118
+ workflow
119
+ });
120
+ const closePanel = () => {
121
+ workflowsStore.toggleLogsPanelOpen(false);
122
+ };
123
+ function onPopOut() {
124
+ telemetry.track("User toggled log view", { new_state: "floating" });
125
+ workflowsStore.toggleLogsPanelOpen(true);
126
+ workflowsStore.setPreferPoppedOutLogsView(true);
127
+ }
128
+ watchEffect(() => {
129
+ canvasStore.setPanelHeight(chatPanelState.value === LOGS_PANEL_STATE.ATTACHED ? height.value : 0);
130
+ });
131
+ return (_ctx, _cache) => {
132
+ const _component_n8n_icon_button = resolveComponent("n8n-icon-button");
133
+ return openBlock(), createElementBlock("div", {
134
+ ref_key: "pipContainer",
135
+ ref: pipContainer
136
+ }, [
137
+ createBaseVNode("div", {
138
+ ref_key: "pipContent",
139
+ ref: pipContent2,
140
+ class: normalizeClass(_ctx.$style.pipContent)
141
+ }, [
142
+ unref(chatTriggerNode) ? (openBlock(), createBlock(unref(N8nResizeWrapper), {
143
+ key: 0,
144
+ "is-resizing-enabled": !unref(isPoppedOut) && chatPanelState.value === unref(LOGS_PANEL_STATE).ATTACHED,
145
+ "supported-directions": ["top"],
146
+ class: normalizeClass([_ctx.$style.resizeWrapper, chatPanelState.value === unref(LOGS_PANEL_STATE).CLOSED && _ctx.$style.empty]),
147
+ height: unref(height),
148
+ style: normalizeStyle(unref(rootStyles)),
149
+ onResize: unref(onResizeDebounced)
150
+ }, {
151
+ default: withCtx(() => [
152
+ createBaseVNode("div", {
153
+ ref_key: "container",
154
+ ref: container2,
155
+ class: normalizeClass([_ctx.$style.container, "ignore-key-press-canvas"]),
156
+ tabindex: "0"
157
+ }, [
158
+ chatPanelState.value !== unref(LOGS_PANEL_STATE).CLOSED ? (openBlock(), createElementBlock("div", {
159
+ key: 0,
160
+ class: normalizeClass(_ctx.$style.chatResizer)
161
+ }, [
162
+ createVNode(unref(N8nResizeWrapper), {
163
+ "supported-directions": ["right"],
164
+ width: unref(chatWidth),
165
+ class: normalizeClass(_ctx.$style.chat),
166
+ window: unref(pipWindow),
167
+ onResize: unref(onResizeChatDebounced)
168
+ }, {
169
+ default: withCtx(() => [
170
+ createBaseVNode("div", {
171
+ class: normalizeClass(_ctx.$style.inner)
172
+ }, [
173
+ createVNode(ChatMessagesPanel, {
174
+ "data-test-id": "canvas-chat",
175
+ messages: unref(messages),
176
+ "session-id": unref(currentSessionId),
177
+ "past-chat-messages": previousChatMessages.value,
178
+ "show-close-button": !unref(isPoppedOut) && !unref(connectedNode),
179
+ onClose: closePanel,
180
+ onRefreshSession: unref(refreshSession),
181
+ onDisplayExecution: unref(displayExecution),
182
+ onSendMessage: unref(sendMessage)
183
+ }, null, 8, ["messages", "session-id", "past-chat-messages", "show-close-button", "onRefreshSession", "onDisplayExecution", "onSendMessage"])
184
+ ], 2)
185
+ ]),
186
+ _: 1
187
+ }, 8, ["width", "class", "window", "onResize"]),
188
+ unref(connectedNode) ? (openBlock(), createElementBlock("div", {
189
+ key: 0,
190
+ class: normalizeClass(_ctx.$style.logs)
191
+ }, [
192
+ (openBlock(), createBlock(ChatLogsPanel, {
193
+ key: `${resultData.value?.length ?? unref(messages)?.length}`,
194
+ workflow: workflow.value,
195
+ "data-test-id": "canvas-chat-logs",
196
+ node: unref(connectedNode),
197
+ slim: unref(logsWidth) < 700
198
+ }, {
199
+ actions: withCtx(() => [
200
+ unref(canPopOut) && !unref(isPoppedOut) ? (openBlock(), createBlock(_component_n8n_icon_button, {
201
+ key: 0,
202
+ icon: "pop-out",
203
+ type: "secondary",
204
+ size: "medium",
205
+ onClick: onPopOut
206
+ })) : createCommentVNode("", true),
207
+ !unref(isPoppedOut) ? (openBlock(), createBlock(_component_n8n_icon_button, {
208
+ key: 1,
209
+ outline: "",
210
+ icon: "times",
211
+ type: "secondary",
212
+ size: "medium",
213
+ onClick: closePanel
214
+ })) : createCommentVNode("", true)
215
+ ]),
216
+ _: 1
217
+ }, 8, ["workflow", "node", "slim"]))
218
+ ], 2)) : createCommentVNode("", true)
219
+ ], 2)) : createCommentVNode("", true)
220
+ ], 2)
221
+ ]),
222
+ _: 1
223
+ }, 8, ["is-resizing-enabled", "class", "height", "style", "onResize"])) : createCommentVNode("", true)
224
+ ], 2)
225
+ ], 512);
226
+ };
227
+ }
228
+ });
229
+ const resizeWrapper = "_resizeWrapper_1aajp_124";
230
+ const pipContent = "_pipContent_1aajp_129";
231
+ const empty = "_empty_1aajp_140";
232
+ const container = "_container_1aajp_146";
233
+ const chatResizer = "_chatResizer_1aajp_154";
234
+ const footer = "_footer_1aajp_161";
235
+ const chat = "_chat_1aajp_154";
236
+ const inner = "_inner_1aajp_180";
237
+ const logs = "_logs_1aajp_188";
238
+ const style0 = {
239
+ resizeWrapper,
240
+ pipContent,
241
+ empty,
242
+ container,
243
+ chatResizer,
244
+ footer,
245
+ chat,
246
+ inner,
247
+ logs
248
+ };
249
+ const cssModules = {
250
+ "$style": style0
251
+ };
252
+ const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules]]);
253
+ const _sfc_main = /* @__PURE__ */ defineComponent({
254
+ __name: "CanvasChatSwitch",
255
+ setup(__props) {
256
+ const { isNewLogsEnabled } = useSettingsStore();
257
+ return (_ctx, _cache) => {
258
+ const _component_CanvasChat = __unplugin_components_0;
259
+ return unref(isNewLogsEnabled) ? (openBlock(), createBlock(LogsPanel, { key: 0 })) : (openBlock(), createBlock(_component_CanvasChat, { key: 1 }));
260
+ };
261
+ }
262
+ });
263
+ export {
264
+ _sfc_main as default
265
+ };
@@ -0,0 +1,345 @@
1
+ /* BEM support Func
2
+ -------------------------- */
3
+ /* Transition
4
+ -------------------------- */
5
+ /* Color
6
+ -------------------------- */
7
+ /* Link
8
+ -------------------------- */
9
+ /* Border
10
+ -------------------------- */
11
+ /* Outline
12
+ -------------------------- */
13
+ /* Box shadow
14
+ -------------------------- */
15
+ /* Fill
16
+ -------------------------- */
17
+ /* Typography
18
+ -------------------------- */
19
+ /* z-index
20
+ -------------------------- */
21
+ /* Disable base
22
+ -------------------------- */
23
+ /* Icon
24
+ -------------------------- */
25
+ /* Checkbox
26
+ -------------------------- */
27
+ /* Radio
28
+ -------------------------- */
29
+ /* Select
30
+ -------------------------- */
31
+ /* Alert
32
+ -------------------------- */
33
+ /* MessageBox
34
+ -------------------------- */
35
+ /* Message
36
+ -------------------------- */
37
+ /* Notification
38
+ -------------------------- */
39
+ /* Input
40
+ -------------------------- */
41
+ /* Cascader
42
+ -------------------------- */
43
+ /* Group
44
+ -------------------------- */
45
+ /* Tab
46
+ -------------------------- */
47
+ /* Button
48
+ -------------------------- */
49
+ /* cascader
50
+ -------------------------- */
51
+ /* Switch
52
+ -------------------------- */
53
+ /* Dialog
54
+ -------------------------- */
55
+ /* Table
56
+ -------------------------- */
57
+ /* Pagination
58
+ -------------------------- */
59
+ /* Popup
60
+ -------------------------- */
61
+ /* Popover
62
+ -------------------------- */
63
+ /* Tooltip
64
+ -------------------------- */
65
+ /* Tag
66
+ -------------------------- */
67
+ /* Tree
68
+ -------------------------- */
69
+ /* Dropdown
70
+ -------------------------- */
71
+ /* Badge
72
+ -------------------------- */
73
+ /* Card
74
+ --------------------------*/
75
+ /* Slider
76
+ --------------------------*/
77
+ /* Steps
78
+ --------------------------*/
79
+ /* Menu
80
+ --------------------------*/
81
+ /* Rate
82
+ --------------------------*/
83
+ /* DatePicker
84
+ --------------------------*/
85
+ /* Loading
86
+ --------------------------*/
87
+ /* Scrollbar
88
+ --------------------------*/
89
+ /* Carousel
90
+ --------------------------*/
91
+ /* Collapse
92
+ --------------------------*/
93
+ /* Transfer
94
+ --------------------------*/
95
+ /* Header
96
+ --------------------------*/
97
+ /* Footer
98
+ --------------------------*/
99
+ /* Main
100
+ --------------------------*/
101
+ /* Timeline
102
+ --------------------------*/
103
+ /* Backtop
104
+ --------------------------*/
105
+ /* Link
106
+ --------------------------*/
107
+ /* Calendar
108
+ --------------------------*/
109
+ /* Form
110
+ -------------------------- */
111
+ /* Avatar
112
+ --------------------------*/
113
+ /* Break-point
114
+ --------------------------*/
115
+ /* Break-points
116
+ -------------------------- */
117
+ /* Scrollbar
118
+ -------------------------- */
119
+ /* Placeholder
120
+ -------------------------- */
121
+ /* BEM
122
+ -------------------------- */
123
+ ._logsHeader_1n9n2_123 {
124
+ font-size: var(--font-size-s);
125
+ font-weight: var(--font-weight-bold);
126
+ height: 2.6875rem;
127
+ line-height: 18px;
128
+ text-align: left;
129
+ border-bottom: 1px solid var(--color-foreground-base);
130
+ padding: var(--spacing-xs);
131
+ background-color: var(--color-foreground-xlight);
132
+ display: flex;
133
+ justify-content: space-between;
134
+ align-items: center;
135
+ }
136
+ ._logsHeader_1n9n2_123 span {
137
+ font-weight: var(--font-weight-regular);
138
+ }
139
+ ._logsWrapper_1n9n2_140 {
140
+ --node-icon-color: var(--color-text-base);
141
+ height: 100%;
142
+ overflow: hidden;
143
+ width: 100%;
144
+ display: flex;
145
+ flex-direction: column;
146
+ }
147
+ ._logsTitle_1n9n2_149 {
148
+ margin: 0 var(--spacing-s) var(--spacing-s);
149
+ }
150
+ ._logs_1n9n2_123 {
151
+ padding: var(--spacing-s) 0;
152
+ flex-grow: 1;
153
+ overflow: auto;
154
+ }
155
+ ._actions_1n9n2_159 {
156
+ display: flex;
157
+ align-items: center;
158
+ }
159
+ ._actions_1n9n2_159 button {
160
+ border: none;
161
+ }/* BEM support Func
162
+ -------------------------- */
163
+ /* Transition
164
+ -------------------------- */
165
+ /* Color
166
+ -------------------------- */
167
+ /* Link
168
+ -------------------------- */
169
+ /* Border
170
+ -------------------------- */
171
+ /* Outline
172
+ -------------------------- */
173
+ /* Box shadow
174
+ -------------------------- */
175
+ /* Fill
176
+ -------------------------- */
177
+ /* Typography
178
+ -------------------------- */
179
+ /* z-index
180
+ -------------------------- */
181
+ /* Disable base
182
+ -------------------------- */
183
+ /* Icon
184
+ -------------------------- */
185
+ /* Checkbox
186
+ -------------------------- */
187
+ /* Radio
188
+ -------------------------- */
189
+ /* Select
190
+ -------------------------- */
191
+ /* Alert
192
+ -------------------------- */
193
+ /* MessageBox
194
+ -------------------------- */
195
+ /* Message
196
+ -------------------------- */
197
+ /* Notification
198
+ -------------------------- */
199
+ /* Input
200
+ -------------------------- */
201
+ /* Cascader
202
+ -------------------------- */
203
+ /* Group
204
+ -------------------------- */
205
+ /* Tab
206
+ -------------------------- */
207
+ /* Button
208
+ -------------------------- */
209
+ /* cascader
210
+ -------------------------- */
211
+ /* Switch
212
+ -------------------------- */
213
+ /* Dialog
214
+ -------------------------- */
215
+ /* Table
216
+ -------------------------- */
217
+ /* Pagination
218
+ -------------------------- */
219
+ /* Popup
220
+ -------------------------- */
221
+ /* Popover
222
+ -------------------------- */
223
+ /* Tooltip
224
+ -------------------------- */
225
+ /* Tag
226
+ -------------------------- */
227
+ /* Tree
228
+ -------------------------- */
229
+ /* Dropdown
230
+ -------------------------- */
231
+ /* Badge
232
+ -------------------------- */
233
+ /* Card
234
+ --------------------------*/
235
+ /* Slider
236
+ --------------------------*/
237
+ /* Steps
238
+ --------------------------*/
239
+ /* Menu
240
+ --------------------------*/
241
+ /* Rate
242
+ --------------------------*/
243
+ /* DatePicker
244
+ --------------------------*/
245
+ /* Loading
246
+ --------------------------*/
247
+ /* Scrollbar
248
+ --------------------------*/
249
+ /* Carousel
250
+ --------------------------*/
251
+ /* Collapse
252
+ --------------------------*/
253
+ /* Transfer
254
+ --------------------------*/
255
+ /* Header
256
+ --------------------------*/
257
+ /* Footer
258
+ --------------------------*/
259
+ /* Main
260
+ --------------------------*/
261
+ /* Timeline
262
+ --------------------------*/
263
+ /* Backtop
264
+ --------------------------*/
265
+ /* Link
266
+ --------------------------*/
267
+ /* Calendar
268
+ --------------------------*/
269
+ /* Form
270
+ -------------------------- */
271
+ /* Avatar
272
+ --------------------------*/
273
+ /* Break-point
274
+ --------------------------*/
275
+ /* Break-points
276
+ -------------------------- */
277
+ /* Scrollbar
278
+ -------------------------- */
279
+ /* Placeholder
280
+ -------------------------- */
281
+ /* BEM
282
+ -------------------------- */
283
+ @media all and (display-mode: picture-in-picture) {
284
+ ._resizeWrapper_1aajp_124 {
285
+ height: 100% !important;
286
+ max-height: 100vh !important;
287
+ }
288
+ }
289
+ ._pipContent_1aajp_129 {
290
+ height: 100%;
291
+ }
292
+ ._resizeWrapper_1aajp_124 {
293
+ height: var(--panel-height);
294
+ min-height: 4rem;
295
+ max-height: 90vh;
296
+ flex-basis: content;
297
+ border-top: 1px solid var(--color-foreground-base);
298
+ }
299
+ ._resizeWrapper_1aajp_124._empty_1aajp_140 {
300
+ height: auto;
301
+ min-height: 0;
302
+ flex-basis: 0;
303
+ }
304
+ ._container_1aajp_146 {
305
+ width: 100%;
306
+ height: 100%;
307
+ display: flex;
308
+ flex-direction: column;
309
+ overflow: hidden;
310
+ }
311
+ ._chatResizer_1aajp_154 {
312
+ display: flex;
313
+ width: 100%;
314
+ height: 100%;
315
+ max-width: 100%;
316
+ }
317
+ ._footer_1aajp_161 {
318
+ border-top: 1px solid var(--color-foreground-base);
319
+ width: 100%;
320
+ background-color: var(--color-background-light);
321
+ display: flex;
322
+ padding: var(--spacing-2xs);
323
+ gap: var(--spacing-2xs);
324
+ }
325
+ ._chat_1aajp_154 {
326
+ width: var(--chat-width);
327
+ flex-shrink: 0;
328
+ border-right: 1px solid var(--color-foreground-base);
329
+ max-width: 100%;
330
+ }
331
+ ._chat_1aajp_154:only-child {
332
+ width: 100%;
333
+ }
334
+ ._inner_1aajp_180 {
335
+ display: flex;
336
+ flex-direction: column;
337
+ overflow: hidden;
338
+ height: 100%;
339
+ width: 100%;
340
+ }
341
+ ._logs_1aajp_188 {
342
+ flex-grow: 1;
343
+ flex-shrink: 1;
344
+ background-color: var(--color-background-light);
345
+ }
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, c as useI18n, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, V as VIEWS, e as createBlock, f as createCommentVNode, g as openBlock } from "./index-CN4JmOoA.js";
2
- import { A as AuthView } from "./AuthView-ChkPGgg-.js";
3
- import "./Logo-DjpNa7ha.js";
1
+ import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, c as useI18n, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, V as VIEWS, e as createBlock, f as createCommentVNode, g as openBlock } from "./index-BpdkKRP4.js";
2
+ import { A as AuthView } from "./AuthView-Dlhn_SQ-.js";
3
+ import "./Logo-Dxp4M9dy.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "ChangePasswordView",
6
6
  setup(__props) {
@@ -0,0 +1,4 @@
1
+ import { hh as _sfc_main } from "./index-BpdkKRP4.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,9 +1,9 @@
1
- import { d as defineComponent, L as useUIStore, bM as useCredentialsStore, a4 as useProjectsStore, q as computed, c as useI18n, a9 as getResourcePermissions, fa as dateformat, h as resolveComponent, e as createBlock, g as openBlock, J as withModifiers, n as normalizeClass, w as withCtx, k as createBaseVNode, j as createVNode, i as createElementBlock, f as createCommentVNode, aC as withDirectives, t as toDisplayString, aD as vShow, l as createTextVNode, m as unref, cU as _sfc_main$2, gl as ResourceType, gC as CredentialIcon, ak as useMessage, al as MODAL_CONFIRM, gm as PROJECT_MOVE_RESOURCE_MODAL, _ as _export_sfc, bw as useNodeTypesStore, a3 as useSourceControlStore, bO as useExternalSecretsStore, u as useUsersStore, gr as useInsightsStore, a6 as useDocumentTitle, W as useRoute, b as useRouter, r as ref, gD as listenForModalChanges, I as watch, o as onMounted, F as Fragment, D as renderList, da as N8nCheckbox, gE as CREDENTIAL_EMPTY_VALUE, ai as useTelemetry, p as useSettingsStore, ac as EnterpriseEditionFeature, bN as useEnvironmentsStore, gF as CREDENTIAL_SELECT_MODAL_KEY, V as VIEWS, gG as CREDENTIAL_EDIT_MODAL_KEY, gH as isCredentialsResource } from "./index-CN4JmOoA.js";
2
- import { R as ResourcesListLayout } from "./ResourcesListLayout-B_Otf91D.js";
3
- import { P as ProjectCardBadge } from "./ProjectCardBadge-BiJ9Jmbm.js";
4
- import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-D42fsSzg.js";
5
- import { I as InsightsSummary } from "./InsightsSummary-C-_stVav.js";
6
- import { p as pickBy } from "./pickBy-BAPZ2mk0.js";
1
+ import { d as defineComponent, L as useUIStore, bN as useCredentialsStore, a4 as useProjectsStore, q as computed, c as useI18n, a9 as getResourcePermissions, fC as dateformat, h as resolveComponent, e as createBlock, g as openBlock, J as withModifiers, n as normalizeClass, w as withCtx, k as createBaseVNode, j as createVNode, i as createElementBlock, f as createCommentVNode, aC as withDirectives, t as toDisplayString, aD as vShow, l as createTextVNode, m as unref, cV as _sfc_main$2, gP as ResourceType, h3 as CredentialIcon, ak as useMessage, al as MODAL_CONFIRM, gQ as PROJECT_MOVE_RESOURCE_MODAL, _ as _export_sfc, by as useNodeTypesStore, a3 as useSourceControlStore, bP as useExternalSecretsStore, u as useUsersStore, gV as useInsightsStore, a6 as useDocumentTitle, W as useRoute, b as useRouter, r as ref, h4 as listenForModalChanges, I as watch, o as onMounted, F as Fragment, D as renderList, db as N8nCheckbox, h5 as CREDENTIAL_EMPTY_VALUE, ai as useTelemetry, p as useSettingsStore, ac as EnterpriseEditionFeature, bO as useEnvironmentsStore, h6 as CREDENTIAL_SELECT_MODAL_KEY, V as VIEWS, h7 as CREDENTIAL_EDIT_MODAL_KEY, h8 as isCredentialsResource } from "./index-BpdkKRP4.js";
2
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-DTsuHdYx.js";
3
+ import { P as ProjectCardBadge } from "./ProjectCardBadge-LnLKqSK-.js";
4
+ import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-DC02ZuZ0.js";
5
+ import { I as InsightsSummary } from "./InsightsSummary-DzYli0Pu.js";
6
+ import { p as pickBy } from "./pickBy-mYqFOFbh.js";
7
7
  const _hoisted_1$1 = { key: 0 };
8
8
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
9
9
  __name: "CredentialCard",