n8n-editor-ui 1.101.0 → 1.102.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 (132) hide show
  1. package/dist/assets/{ActionDropdown-BujIG0Jq.js → ActionDropdown-D-JmCYsp.js} +2 -2
  2. package/dist/assets/{AnimatedSpinner-B5cpb6Fs.js → AnimatedSpinner-BiuDg2x2.js} +1 -1
  3. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BPigGQTI.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-Bp194Fz4.js} +1 -1
  4. package/dist/assets/{AuthView-BOTPYtpM.js → AuthView-DF-20OPE.js} +2 -2
  5. package/dist/assets/{ChangePasswordView-DbeC55bz.js → ChangePasswordView-DSn8-M1-.js} +3 -3
  6. package/dist/assets/CollectionParameter-Bz5DzZqs.js +4 -0
  7. package/dist/assets/{CredentialsView-DUh5K-2r.js → CredentialsView-IQx76pD4.js} +8 -8
  8. package/dist/assets/{DemoFooter-BXPfbNJE.js → DemoFooter-49OiW0k2.js} +8 -7
  9. package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-CDDQIxv5.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-FNKd4r6R.js} +1 -1
  10. package/dist/assets/{EntityNotFound-CBUuOOYw.js → EntityNotFound-DScKsOtg.js} +1 -1
  11. package/dist/assets/{EntityUnAuthorised-7xgN3ECo.js → EntityUnAuthorised-DweZmhgI.js} +1 -1
  12. package/dist/assets/{ErrorView-BVfcsoOa.js → ErrorView-CNDVS4gm.js} +4 -4
  13. package/dist/assets/{EvaluationsRootView-BjrpKDj-.js → EvaluationsRootView-81SdPChp.js} +19 -27
  14. package/dist/assets/{EvaluationsView-DdmFZCH-.js → EvaluationsView-BAyQWPF9.js} +7 -7
  15. package/dist/assets/{ExecutionsTime-kMSlccIr.css → ExecutionsTime-DkME6I3E.css} +26 -19
  16. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-Ctx5Ybnr.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-Qw7S05EC.js} +23 -21
  17. package/dist/assets/{ExecutionsView-8BjGHy2I.js → ExecutionsView--yDyvnL8.js} +15 -16
  18. package/dist/assets/{ExecutionsView-DSsowKj4.css → ExecutionsView-BHBePl1_.css} +1 -1
  19. package/dist/assets/{FileSaver.min-C5wzcK59.js → FileSaver.min-CeGSkamF.js} +1 -1
  20. package/dist/assets/{FixedCollectionParameter-DjlaZyUQ.css → FixedCollectionParameter-CEzpjeQZ.css} +18 -18
  21. package/dist/assets/{FixedCollectionParameter-BrPQ5Vay.js → FixedCollectionParameter-tgbkzIuD.js} +7 -7
  22. package/dist/assets/{ForgotMyPasswordView-L0afefc1.js → ForgotMyPasswordView-CVwKac4K.js} +3 -3
  23. package/dist/assets/{InfoAccordion-CEk3XG5b.js → InfoAccordion-75IQV-_q.js} +1 -1
  24. package/dist/assets/{InsightsChartAverageRuntime-BrwBWr_R.js → InsightsChartAverageRuntime-C4C4zghF.js} +4 -4
  25. package/dist/assets/{InsightsChartFailed-ILKWvikG.js → InsightsChartFailed-DyhWE17m.js} +4 -4
  26. package/dist/assets/{InsightsChartFailureRate-D1AVYwU7.js → InsightsChartFailureRate-B09GcGvY.js} +4 -4
  27. package/dist/assets/{InsightsChartTimeSaved-D49Rwn6-.js → InsightsChartTimeSaved-DGzFyou3.js} +4 -4
  28. package/dist/assets/{InsightsChartTotal-Bs-pUgA3.js → InsightsChartTotal-fIUzF41H.js} +4 -4
  29. package/dist/assets/{InsightsDashboard-BIC4uZpW.js → InsightsDashboard-Qhv7fScv.js} +10 -10
  30. package/dist/assets/{InsightsPaywall-DmwFI-6e.js → InsightsPaywall-C3-la0kD.js} +1 -1
  31. package/dist/assets/{InsightsSummary-D9lEzWNT.js → InsightsSummary-CJgV5s0y.js} +14 -13
  32. package/dist/assets/{InsightsSummary-DzGQpM5h.css → InsightsSummary-DTFIhBF3.css} +25 -27
  33. package/dist/assets/InsightsTableWorkflows-P5OHXu1Y.js +177 -0
  34. package/dist/assets/{Logo-DNxOhbuV.js → Logo-8MWdHUz0.js} +1 -1
  35. package/dist/assets/{LogsPanel-DvWnD7rJ.js → LogsPanel-BabpRONg.js} +279 -212
  36. package/dist/assets/{LogsPanel-D5R6F35L.css → LogsPanel-Bvy4ANV7.css} +106 -61
  37. package/dist/assets/{MainHeader-BVHIuVVT.js → MainHeader-0ppftO6b.js} +10 -10
  38. package/dist/assets/{MainSidebar-CEHr93uL.js → MainSidebar-BnXOkYK4.js} +23 -16
  39. package/dist/assets/{MainSidebar-DqrgzqvZ.css → MainSidebar-CaLHZgDB.css} +2 -2
  40. package/dist/assets/{InsightsTableWorkflows-CC8t-sAL.js → N8nDataTableServer-Cx18Zd1O.js} +9 -181
  41. package/dist/assets/{NodeCreation-Bq5626Ha.js → NodeCreation-DKbc91uY.js} +7 -7
  42. package/dist/assets/{NodeCreator-Dk0sNXFZ.css → NodeCreator-DWE25utr.css} +51 -58
  43. package/dist/assets/{NodeCreator-D7xT3ogw.js → NodeCreator-xRYJHbTG.js} +118 -112
  44. package/dist/assets/NodeDetailsView-CPVE5S8P.js +1155 -0
  45. package/dist/assets/NodeDetailsView-CaTI-1QQ.css +668 -0
  46. package/dist/assets/NodeDetailsViewV2-5pxsZwAo.js +1061 -0
  47. package/dist/assets/NodeDetailsViewV2-BxNx4ZUM.css +506 -0
  48. package/dist/assets/{NodeView-DL8JxnMc.css → NodeView-Cgf2HuDk.css} +263 -110
  49. package/dist/assets/{NodeView-DoR46iB5.js → NodeView-DYjZmKNE.js} +580 -409
  50. package/dist/assets/{ProjectHeader-DSKKwiQ0.js → ProjectHeader-e8JosKaj.js} +5 -5
  51. package/dist/assets/{ProjectSettings-C3sMIDHh.js → ProjectSettings-DNKcVLkd.js} +201 -25
  52. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-cnANEo9o.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-EuKDPqQH.js} +3 -3
  53. package/dist/assets/{ResourcesListLayout-BVbjqFbc.js → ResourcesListLayout-C4y0iPmg.js} +4 -4
  54. package/dist/assets/{RunData-DG20AzLo.js → RunData-D3xzjO33.js} +124 -99
  55. package/dist/assets/{RunData-B5_okvCv.css → RunData-DuKNwYqe.css} +99 -85
  56. package/dist/assets/{RunDataJson-7okRLIES.js → RunDataJson-D5YFtOcJ.js} +16 -20
  57. package/dist/assets/{RunDataJsonActions-DrgwFS0W.css → RunDataJsonActions-B2jW3_UG.css} +3 -5
  58. package/dist/assets/{RunDataJsonActions-Qkg8HmUd.js → RunDataJsonActions-BWvs4coo.js} +15 -16
  59. package/dist/assets/{RunDataParsedAiContent-DRO1Bjsh.js → RunDataParsedAiContent-BYISiW-I.js} +12 -12
  60. package/dist/assets/{RunDataParsedAiContent-9EEUzCKp.css → RunDataParsedAiContent-wfIiKsq7.css} +16 -13
  61. package/dist/assets/{RunDataSearch-R6qtl0Jf.css → RunDataSearch-2eEalFoi.css} +8 -7
  62. package/dist/assets/{RunDataSearch-D5eQUWvi.js → RunDataSearch-oo3_BoLt.js} +4 -4
  63. package/dist/assets/{RunDataTable-CJmmTtEp.js → RunDataTable-6rCOQNCX.js} +126 -54
  64. package/dist/assets/{RunDataTable-CykHIwNT.css → RunDataTable-CTBtmQIs.css} +84 -44
  65. package/dist/assets/{SamlOnboarding-ClxYfm5z.js → SamlOnboarding-BG-gGcbY.js} +3 -3
  66. package/dist/assets/{SettingsApiView-Ds7FYVrN.js → SettingsApiView-Bmlbp7pD.js} +1 -1
  67. package/dist/assets/{SettingsCommunityNodesView-QKvLs6gi.js → SettingsCommunityNodesView-4DWd4UiC.js} +32 -6
  68. package/dist/assets/{SettingsExternalSecrets-d1KDgYYp.css → SettingsExternalSecrets-BAX9ENm9.css} +9 -6
  69. package/dist/assets/{SettingsExternalSecrets-DGRdvsMy.js → SettingsExternalSecrets-hpUcipWw.js} +17 -13
  70. package/dist/assets/{SettingsLdapView-C_LJwixk.js → SettingsLdapView-7p7L95v9.js} +1 -1
  71. package/dist/assets/{SettingsLogStreamingView-CaEJvgJ9.js → SettingsLogStreamingView-4CpWJqj_.js} +1 -1
  72. package/dist/assets/{SettingsPersonalView-DlwXaGDs.js → SettingsPersonalView-9iP06ihA.js} +11 -3
  73. package/dist/assets/{SettingsSourceControl-B6eULOfX.js → SettingsSourceControl-BGjWhqqJ.js} +5 -5
  74. package/dist/assets/{SettingsSso-5zcg-J4E.js → SettingsSso-ChOyD3kc.js} +1 -1
  75. package/dist/assets/{SettingsUsageAndPlan-CMBvYdjo.js → SettingsUsageAndPlan-jP8nn4Rh.js} +1 -1
  76. package/dist/assets/SettingsUsersView-BhfbqjxW.js +861 -0
  77. package/dist/assets/SettingsUsersView-BuZbf1jq.css +446 -0
  78. package/dist/assets/{SettingsView-Bawwm19P.css → SettingsView-4yzof_Pb.css} +4 -4
  79. package/dist/assets/{SettingsView-BuDKhqwZ.js → SettingsView-DTFEdRdj.js} +14 -14
  80. package/dist/assets/{SetupView-DSaQcQDF.js → SetupView-CXuAO6tx.js} +3 -3
  81. package/dist/assets/{SetupWorkflowCredentialsButton-BWISZAxq.js → SetupWorkflowCredentialsButton-Bj4rSqAV.js} +2 -2
  82. package/dist/assets/{SetupWorkflowFromTemplateView-CfDWCwoA.js → SetupWorkflowFromTemplateView-DG8Ml3A0.js} +8 -12
  83. package/dist/assets/{SigninView-BpjyswHb.js → SigninView-KmmptKWN.js} +7 -3
  84. package/dist/assets/{SignoutView-f_CoUl4S.js → SignoutView-8rAPEX_X.js} +1 -1
  85. package/dist/assets/{SignupView-q3f9g3P9.js → SignupView-ZYUP6f-Y.js} +3 -3
  86. package/dist/assets/{TableBase-DruQl-SO.js → TableBase-7XxrB0dw.js} +1 -1
  87. package/dist/assets/{Tags-DbmKHzWo.js → Tags-C8Jnw74N.js} +1 -1
  88. package/dist/assets/{TemplateDetails-DP_5pkzG.js → TemplateDetails-Bk1ixuRQ.js} +2 -2
  89. package/dist/assets/{TemplateList-y8Aumcsb.js → TemplateList-9SAC8OGn.js} +6 -3
  90. package/dist/assets/{TemplatesCollectionView-VdQpHtxs.js → TemplatesCollectionView-CLZDJ4HM.js} +6 -6
  91. package/dist/assets/{TemplatesSearchView-BUcYRVEK.js → TemplatesSearchView-DRzdGp3s.js} +8 -8
  92. package/dist/assets/{TemplatesView-4DUEEEtD.js → TemplatesView-V6ud-nM5.js} +3 -3
  93. package/dist/assets/{TemplatesWorkflowView--zUXMB8f.js → TemplatesWorkflowView-CLb4CuR2.js} +6 -6
  94. package/dist/assets/{NodeDetailsView-DB-5JPUD.js → TriggerPanel-BOC7PYsi.js} +498 -1415
  95. package/dist/assets/{NodeDetailsView-BaIj2qAa.css → TriggerPanel-DRpKKKun.css} +296 -903
  96. package/dist/assets/{VariablesView-DoWb0Vtv.js → VariablesView-BDzhSaxw.js} +6 -6
  97. package/dist/assets/{VariablesView-Kog_9PMT.css → VariablesView-Bh0OeH4s.css} +6 -6
  98. package/dist/assets/{WorkerView-D56d7XJA.js → WorkerView-C2A7cYkr.js} +9 -9
  99. package/dist/assets/{WorkflowActivator-CQxaDCfA.js → WorkflowActivator-BmIzNsA8.js} +8 -8
  100. package/dist/assets/{WorkflowActivator-BJPsIkXE.css → WorkflowActivator-DhLX6i1H.css} +2 -2
  101. package/dist/assets/{WorkflowExecutionsInfoAccordion-D9p_ZqmA.js → WorkflowExecutionsInfoAccordion-Cn4GRGO_.js} +6 -6
  102. package/dist/assets/{WorkflowExecutionsLandingPage-CymYth6K.js → WorkflowExecutionsLandingPage-s-dIgG6D.js} +3 -3
  103. package/dist/assets/{WorkflowExecutionsPreview-DRvf3WQC.js → WorkflowExecutionsPreview-BE7NfRAa.js} +12 -12
  104. package/dist/assets/{WorkflowExecutionsView-DxiIaUKV.js → WorkflowExecutionsView-DFmBdF-B.js} +16 -16
  105. package/dist/assets/{WorkflowHistory-DBPIq2u7.js → WorkflowHistory-3wO0nQYD.js} +4 -4
  106. package/dist/assets/{WorkflowOnboardingView-D4QKSetf.js → WorkflowOnboardingView-mBVE6x-i.js} +1 -1
  107. package/dist/assets/{WorkflowPreview-D3YRZjYi.js → WorkflowPreview-DlNMFCKn.js} +1 -1
  108. package/dist/assets/{WorkflowsView-ipf8KKwB.css → WorkflowsView-CyJbJBc8.css} +25 -21
  109. package/dist/assets/{WorkflowsView-DPADmBVd.js → WorkflowsView-DsAOuPT0.js} +77 -72
  110. package/dist/assets/{chartjs.utils-Cou_ISuU.js → chartjs.utils-BywXqBmg.js} +2 -2
  111. package/dist/assets/{en-DzZibgm_.js → en-CcKAtA8V.js} +45 -5
  112. package/dist/assets/{global-link-actions-olwfH36z.js → global-link-actions-BzAw9ZbO.js} +1 -1
  113. package/dist/assets/{import-curl-DD21H3kK.js → import-curl-1LWAxRTV.js} +1 -1
  114. package/dist/assets/{index-uJOu4Uio.js → index-B6A1nL2x.js} +1 -1
  115. package/dist/assets/{index-BzamKJpD.css → index-C66_v3sX.css} +1302 -1279
  116. package/dist/assets/{index-7S5ADieN.js → index-V0GOmfo8.js} +40721 -34933
  117. package/dist/assets/{pickBy-DPxZbMic.js → pickBy-CtRItcCT.js} +1 -1
  118. package/dist/assets/{templateActions-DJJfyIhq.js → templateActions-DpIzx0ws.js} +2 -2
  119. package/dist/assets/{useBeforeUnload-DveXGtGN.js → useBeforeUnload-B0EP7Q2i.js} +1 -1
  120. package/dist/assets/{useExecutionDebugging-DM4nhx6D.js → useExecutionDebugging-AwlOA2KI.js} +2 -1
  121. package/dist/assets/{useExecutionHelpers-BfF56crp.js → useExecutionHelpers-DvBwGIzz.js} +1 -1
  122. package/dist/assets/{useImportCurlCommand-BAgQhwtE.js → useImportCurlCommand-DIFC7Epr.js} +2 -2
  123. package/dist/assets/{useKeybindings-CV0VsjNP.js → useKeybindings-CduQ2pi5.js} +4 -4
  124. package/dist/assets/{useProjectPages-DgMGWOaO.js → useProjectPages-DmNmAOdq.js} +1 -1
  125. package/dist/assets/{usePushConnection-D8SE-itT.js → usePushConnection-Dyd5__87.js} +6 -12
  126. package/dist/assets/{useWorkflowActivate-BKz3N1SO.js → useWorkflowActivate-z9iwP6OY.js} +1 -1
  127. package/dist/index.html +2 -2
  128. package/package.json +1 -1
  129. package/vite.config.mts +2 -2
  130. package/dist/assets/CollectionParameter-CExdr4jd.js +0 -4
  131. package/dist/assets/SettingsUsersView-BL3TAhT8.js +0 -338
  132. package/dist/assets/SettingsUsersView-By12E2li.css +0 -143
@@ -120,26 +120,26 @@
120
120
  -------------------------- */
121
121
  /* BEM
122
122
  -------------------------- */
123
- ._runText_1mfxw_123 {
123
+ ._runText_1ucj0_123 {
124
124
  line-height: var(--font-line-height-xloose);
125
125
  white-space: pre-line;
126
126
  }
127
- ._markdown_1mfxw_128 {
127
+ ._markdown_1ucj0_128 {
128
128
  white-space: pre-wrap;
129
129
  }
130
- ._markdown_1mfxw_128 h1 {
130
+ ._markdown_1ucj0_128 h1 {
131
131
  font-size: var(--font-size-l);
132
132
  line-height: var(--font-line-height-xloose);
133
133
  }
134
- ._markdown_1mfxw_128 h2 {
134
+ ._markdown_1ucj0_128 h2 {
135
135
  font-size: var(--font-size-m);
136
136
  line-height: var(--font-line-height-loose);
137
137
  }
138
- ._markdown_1mfxw_128 h3 {
138
+ ._markdown_1ucj0_128 h3 {
139
139
  font-size: var(--font-size-s);
140
140
  line-height: var(--font-line-height-regular);
141
141
  }
142
- ._markdown_1mfxw_128 pre {
142
+ ._markdown_1ucj0_128 pre {
143
143
  background: var(--chat--message--pre--background);
144
144
  border-radius: var(--border-radius-base);
145
145
  line-height: var(--font-line-height-xloose);
@@ -147,30 +147,33 @@
147
147
  font-size: var(--font-size-s);
148
148
  white-space: pre-wrap;
149
149
  }
150
- ._compact_1mfxw_151 ._markdown_1mfxw_128 pre {
150
+ ._compact_1ucj0_151 ._markdown_1ucj0_128 pre {
151
151
  padding: var(--spacing-3xs);
152
152
  font-size: var(--font-size-xs);
153
153
  }
154
- ._copyToClipboard_1mfxw_156 {
154
+ ._compact_1ucj0_151 ._markdown_1ucj0_128 p {
155
+ line-height: var(--font-line-height-xloose);
156
+ }
157
+ ._copyToClipboard_1ucj0_159 {
155
158
  position: absolute;
156
159
  right: var(--spacing-s);
157
160
  top: var(--spacing-s);
158
161
  }
159
- ._compact_1mfxw_151 ._copyToClipboard_1mfxw_156 {
162
+ ._compact_1ucj0_151 ._copyToClipboard_1ucj0_159 {
160
163
  right: var(--spacing-2xs);
161
164
  top: var(--spacing-2xs);
162
165
  }
163
- ._rawContent_1mfxw_166 {
166
+ ._rawContent_1ucj0_169 {
164
167
  position: relative;
165
168
  }
166
- ._contentText_1mfxw_170 {
169
+ ._contentText_1ucj0_173 {
167
170
  padding-top: var(--spacing-s);
168
171
  padding-left: var(--spacing-m);
169
172
  padding-right: var(--spacing-m);
170
173
  font-size: var(--font-size-s);
171
174
  }
172
- ._compact_1mfxw_151 ._contentText_1mfxw_170 {
175
+ ._compact_1ucj0_151 ._contentText_1ucj0_173 {
173
176
  padding-top: 0;
174
177
  padding-inline: var(--spacing-2xs);
175
- font-size: var(--font-size-xs);
178
+ font-size: var(--font-size-2xs);
176
179
  }
@@ -120,29 +120,30 @@
120
120
  -------------------------- */
121
121
  /* BEM
122
122
  -------------------------- */
123
- ._ioSearch_vnmep_123 {
123
+ ._ioSearch_yd95p_123 {
124
124
  transition: max-width 0.3s cubic-bezier(0.19, 1, 0.22, 1);
125
125
  }
126
- ._ioSearch_vnmep_123 ._ioSearchIcon_vnmep_126 {
126
+ ._ioSearch_yd95p_123 ._ioSearchIcon_yd95p_126 {
127
127
  color: var(--color-foreground-xdark);
128
128
  cursor: pointer;
129
+ vertical-align: middle;
129
130
  }
130
- ._ioSearch_vnmep_123 .el-input__prefix {
131
+ ._ioSearch_yd95p_123 .el-input__prefix {
131
132
  left: 8px;
132
133
  }
133
- ._ioSearch_vnmep_123.el-input--prefix .el-input__inner {
134
+ ._ioSearch_yd95p_123.el-input--prefix .el-input__inner {
134
135
  padding-left: 30px;
135
136
  }
136
- ._ioSearch_vnmep_123 input {
137
+ ._ioSearch_yd95p_123 input {
137
138
  border: 0;
138
139
  opacity: 0;
139
140
  background: transparent;
140
141
  cursor: pointer;
141
142
  }
142
- ._ioSearchOpened_vnmep_143 ._ioSearchIcon_vnmep_126 {
143
+ ._ioSearchOpened_yd95p_144 ._ioSearchIcon_yd95p_126 {
143
144
  cursor: default;
144
145
  }
145
- ._ioSearchOpened_vnmep_143 input {
146
+ ._ioSearchOpened_yd95p_144 input {
146
147
  border: var(--input-border-color, var(--border-color-base)) var(--input-border-style, var(--border-style-base)) var(--border-width-base);
147
148
  background: var(--input-background-color, var(--color-foreground-xlight));
148
149
  opacity: 1;
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, R as useDebounce, r as ref, x as computed, c as useI18n, o as onMounted, c5 as onUnmounted, a9 as watch, e as createBlock, g as openBlock, w as withCtx, j as createVNode, aW as N8nIcon, n as normalizeClass, O as normalizeStyle, dU as N8nInput, _ as _export_sfc } from "./index-7S5ADieN.js";
1
+ import { d as defineComponent, S as useDebounce, r as ref, x as computed, c as useI18n, o as onMounted, b$ as onUnmounted, aa as watch, e as createBlock, g as openBlock, w as withCtx, i as createVNode, N as N8nIcon, n as normalizeClass, P as normalizeStyle, dO as N8nInput, _ as _export_sfc } from "./index-V0GOmfo8.js";
2
2
  const COLLAPSED_WIDTH = "30px";
3
3
  const OPEN_WIDTH = "204px";
4
4
  const OPEN_MIN_WIDTH = "120px";
@@ -98,9 +98,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
98
98
  };
99
99
  }
100
100
  });
101
- const ioSearch = "_ioSearch_vnmep_123";
102
- const ioSearchIcon = "_ioSearchIcon_vnmep_126";
103
- const ioSearchOpened = "_ioSearchOpened_vnmep_143";
101
+ const ioSearch = "_ioSearch_yd95p_123";
102
+ const ioSearchIcon = "_ioSearchIcon_yd95p_126";
103
+ const ioSearchOpened = "_ioSearchOpened_yd95p_144";
104
104
  const style0 = {
105
105
  ioSearch,
106
106
  ioSearchIcon,
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, aa as useCssModule, x as computed, fv as getCurrentInstance, i as createElementBlock, f as createCommentVNode, g as openBlock, F as Fragment, y as renderList, n as normalizeClass, m as unref, J as renderSlot, k as createBaseVNode, t as toDisplayString, e as createBlock, bh as createSlots, w as withCtx, D as mergeProps, _ as _export_sfc, r as ref, aL as useNDVStore, a3 as useWorkflowsStore, fp as storeToRefs, o as onMounted, a9 as watch, h as resolveComponent, j as createVNode, aT as withDirectives, $ as _sfc_main$2, aU as vShow, c as useI18n, Z as N8nTooltip, l as createTextVNode, f1 as InfoTip, hn as Draggable, hK as TextWithHighlights, hL as MappingPill, hM as shorten, hN as getPairedItemId, hO as getMappedExpression, bf as useExternalHooks, ax as useTelemetry } from "./index-7S5ADieN.js";
2
- import { u as useExecutionHelpers } from "./useExecutionHelpers-BfF56crp.js";
1
+ import { d as defineComponent, ab as useCssModule, x as computed, ft as getCurrentInstance, h as createElementBlock, f as createCommentVNode, g as openBlock, F as Fragment, y as renderList, n as normalizeClass, l as unref, J as renderSlot, j as createBaseVNode, t as toDisplayString, e as createBlock, bh as createSlots, w as withCtx, D as mergeProps, _ as _export_sfc, ar as useTemplateRef, r as ref, aM as useNDVStore, a4 as useWorkflowsStore, fn as storeToRefs, o as onMounted, aa as watch, O as resolveComponent, i as createVNode, aU as withDirectives, a0 as _sfc_main$2, aV as vShow, c as useI18n, $ as N8nTooltip, k as createTextVNode, eX as InfoTip, hr as Draggable, hN as TextWithHighlights, N as N8nIcon, hO as MappingPill, hP as shorten, hQ as getPairedItemId, hR as getMappedExpression, bf as useExternalHooks, ay as useTelemetry } from "./index-V0GOmfo8.js";
2
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-DvBwGIzz.js";
3
3
  const _hoisted_1$1 = {
4
4
  key: 0,
5
5
  class: "n8n-tree"
@@ -114,10 +114,12 @@ const Tree = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModul
114
114
  const _imports_0 = "/%7B%7BBASE_PATH%7D%7D/static/data-mapping-gif.gif";
115
115
  const _hoisted_1 = ["data-row"];
116
116
  const _hoisted_2 = ["data-row"];
117
- const _hoisted_3 = ["data-test-id"];
118
- const _hoisted_4 = ["data-row"];
119
- const _hoisted_5 = ["data-row", "data-col"];
120
- const _hoisted_6 = { key: 1 };
117
+ const _hoisted_3 = { key: 0 };
118
+ const _hoisted_4 = ["width"];
119
+ const _hoisted_5 = ["data-test-id"];
120
+ const _hoisted_6 = ["data-row"];
121
+ const _hoisted_7 = ["data-row", "data-col"];
122
+ const _hoisted_8 = { key: 1 };
121
123
  const MAX_COLUMNS_LIMIT = 40;
122
124
  const _sfc_main = /* @__PURE__ */ defineComponent({
123
125
  __name: "RunDataTable",
@@ -134,13 +136,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
134
136
  search: { default: "" },
135
137
  headerBgColor: { default: "base" },
136
138
  compact: { type: Boolean, default: false },
137
- disableHoverHighlight: { type: Boolean, default: false }
139
+ disableHoverHighlight: { type: Boolean, default: false },
140
+ collapsingColumnName: {}
138
141
  },
139
- emits: ["activeRowChanged", "displayModeChange", "mounted"],
142
+ emits: ["activeRowChanged", "displayModeChange", "mounted", "collapsingColumnChanged"],
140
143
  setup(__props, { emit: __emit }) {
141
144
  const props = __props;
142
145
  const emit = __emit;
143
146
  const externalHooks = useExternalHooks();
147
+ const tableRef = useTemplateRef("tableRef");
144
148
  const activeColumn = ref(-1);
145
149
  const forceShowGrip = ref(false);
146
150
  const draggedColumn = ref(false);
@@ -150,6 +154,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
150
154
  const columnLimit = ref(MAX_COLUMNS_LIMIT);
151
155
  const columnLimitExceeded = ref(false);
152
156
  const draggableRef = ref();
157
+ const fixedColumnWidths = ref();
153
158
  const ndvStore = useNDVStore();
154
159
  const workflowsStore = useWorkflowsStore();
155
160
  const i18n = useI18n();
@@ -164,6 +169,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
164
169
  const draggableStickyPosition = computed(() => ndvStore.draggableStickyPos);
165
170
  const pairedItemMappings = computed(() => workflowsStore.workflowExecutionPairedItemMappings);
166
171
  const tableData = computed(() => convertToTable(props.inputData));
172
+ const collapsingColumnIndex = computed(() => {
173
+ if (!props.collapsingColumnName) {
174
+ return -1;
175
+ }
176
+ return tableData.value.columns.indexOf(props.collapsingColumnName);
177
+ });
167
178
  onMounted(() => {
168
179
  if (tableData.value?.columns && draggableRef.value) {
169
180
  const tbody = draggableRef.value.$refs.wrapper;
@@ -347,9 +358,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
347
358
  ...mappingTelemetry
348
359
  };
349
360
  void externalHooks.run("runDataTable.onDragEnd", telemetryPayload);
350
- telemetry.track("User dragged data for mapping", telemetryPayload, {
351
- withPostHog: true
352
- });
361
+ telemetry.track("User dragged data for mapping", telemetryPayload);
353
362
  }, 1e3);
354
363
  }
355
364
  function isSimple(data) {
@@ -421,6 +430,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
421
430
  function switchToJsonView() {
422
431
  emit("displayModeChange", "json");
423
432
  }
433
+ function handleSetCollapsingColumn(columnIndex) {
434
+ emit(
435
+ "collapsingColumnChanged",
436
+ collapsingColumnIndex.value === columnIndex ? null : tableData.value.columns[columnIndex] ?? null
437
+ );
438
+ }
424
439
  watch(focusedMappableInput, (curr) => {
425
440
  setTimeout(
426
441
  () => {
@@ -429,8 +444,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
429
444
  curr ? 300 : 150
430
445
  );
431
446
  });
447
+ watch(
448
+ [collapsingColumnIndex, tableRef],
449
+ ([index, table2]) => {
450
+ if (index === -1) {
451
+ fixedColumnWidths.value = void 0;
452
+ return;
453
+ }
454
+ if (table2 === null) {
455
+ return;
456
+ }
457
+ fixedColumnWidths.value = [...table2.querySelectorAll("thead tr th")].map(
458
+ (el) => el instanceof HTMLElement ? el.getBoundingClientRect().width : 0
459
+ );
460
+ },
461
+ { immediate: true, flush: "post" }
462
+ );
432
463
  return (_ctx, _cache) => {
433
- const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
464
+ const _component_n8n_icon = N8nIcon;
434
465
  const _component_i18n_t = resolveComponent("i18n-t");
435
466
  return openBlock(), createElementBlock("div", {
436
467
  class: normalizeClass([
@@ -438,7 +469,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
438
469
  {
439
470
  [_ctx.$style.highlight]: unref(highlight2),
440
471
  [_ctx.$style.lightHeader]: _ctx.headerBgColor === "light",
441
- [_ctx.$style.compact]: props.compact
472
+ [_ctx.$style.compact]: props.compact,
473
+ [_ctx.$style.hasCollapsingColumn]: fixedColumnWidths.value !== void 0
442
474
  }
443
475
  ])
444
476
  }, [
@@ -487,7 +519,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
487
519
  key: 0,
488
520
  element: "a",
489
521
  type: "secondary",
490
- icon: "external-link-alt",
522
+ icon: "external-link",
491
523
  "data-test-id": "debug-sub-execution",
492
524
  size: "mini",
493
525
  target: "_blank",
@@ -521,8 +553,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
521
553
  ])
522
554
  ], 2)) : (openBlock(), createElementBlock("table", {
523
555
  key: 1,
556
+ ref_key: "tableRef",
557
+ ref: tableRef,
524
558
  class: normalizeClass(_ctx.$style.table)
525
559
  }, [
560
+ fixedColumnWidths.value ? (openBlock(), createElementBlock("colgroup", _hoisted_3, [
561
+ (openBlock(true), createElementBlock(Fragment, null, renderList(fixedColumnWidths.value, (width, i) => {
562
+ return openBlock(), createElementBlock("col", {
563
+ key: i,
564
+ width
565
+ }, null, 8, _hoisted_4);
566
+ }), 128))
567
+ ])) : createCommentVNode("", true),
526
568
  createBaseVNode("thead", null, [
527
569
  createBaseVNode("tr", null, [
528
570
  tableData.value.metadata.hasExecutionIds ? (openBlock(), createElementBlock("th", {
@@ -530,7 +572,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
530
572
  class: normalizeClass(_ctx.$style.executionLinkRowHeader)
531
573
  }, null, 2)) : createCommentVNode("", true),
532
574
  (openBlock(true), createElementBlock(Fragment, null, renderList(tableData.value.columns || [], (column, i) => {
533
- return openBlock(), createElementBlock("th", { key: column }, [
575
+ return openBlock(), createElementBlock("th", {
576
+ key: column,
577
+ class: normalizeClass(collapsingColumnIndex.value === i ? _ctx.$style.isCollapsingColumn : "")
578
+ }, [
534
579
  createVNode(unref(N8nTooltip), {
535
580
  placement: "bottom-start",
536
581
  disabled: !_ctx.mappingEnabled,
@@ -571,11 +616,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
571
616
  content: getValueToRender(column || ""),
572
617
  search: _ctx.search
573
618
  }, null, 8, ["content", "search"]),
574
- createBaseVNode("div", {
619
+ createVNode(unref(N8nTooltip), {
620
+ content: unref(i18n).baseText("dataMapping.tableView.columnCollapsing.tooltip"),
621
+ disabled: _ctx.mappingEnabled || collapsingColumnIndex.value === i
622
+ }, {
623
+ default: withCtx(() => [
624
+ createVNode(unref(_sfc_main$2), {
625
+ class: normalizeClass(_ctx.$style.collapseColumnButton),
626
+ type: "tertiary",
627
+ size: "xmini",
628
+ text: "",
629
+ icon: collapsingColumnIndex.value === i ? "chevrons-up-down" : "chevrons-down-up",
630
+ "aria-label": unref(i18n).baseText("dataMapping.tableView.columnCollapsing"),
631
+ onClick: ($event) => handleSetCollapsingColumn(i)
632
+ }, null, 8, ["class", "icon", "aria-label", "onClick"])
633
+ ]),
634
+ _: 2
635
+ }, 1032, ["content", "disabled"]),
636
+ _ctx.mappingEnabled ? (openBlock(), createElementBlock("div", {
637
+ key: 0,
575
638
  class: normalizeClass(_ctx.$style.dragButton)
576
639
  }, [
577
- createVNode(_component_font_awesome_icon, { icon: "grip-vertical" })
578
- ], 2)
640
+ createVNode(_component_n8n_icon, { icon: "grip-vertical" })
641
+ ], 2)) : createCommentVNode("", true)
579
642
  ], 2)
580
643
  ]),
581
644
  _: 2
@@ -583,7 +646,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
583
646
  ]),
584
647
  _: 2
585
648
  }, 1032, ["disabled"])
586
- ]);
649
+ ], 2);
587
650
  }), 128)),
588
651
  columnLimitExceeded.value ? (openBlock(), createElementBlock("th", {
589
652
  key: 1,
@@ -608,9 +671,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
608
671
  ]),
609
672
  default: withCtx(() => [
610
673
  createBaseVNode("span", null, [
611
- createVNode(_component_font_awesome_icon, {
674
+ createVNode(_component_n8n_icon, {
612
675
  class: normalizeClass(_ctx.$style["warningTooltip"]),
613
- icon: "exclamation-triangle"
676
+ icon: "triangle-alert"
614
677
  }, null, 8, ["class"]),
615
678
  createTextVNode(" " + toDisplayString(unref(i18n).baseText("dataMapping.tableView.tableColumnsExceeded")), 1)
616
679
  ])
@@ -667,7 +730,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
667
730
  key: 0,
668
731
  element: "a",
669
732
  type: "secondary",
670
- icon: "external-link-alt",
733
+ icon: "external-link",
671
734
  "data-test-id": "debug-sub-execution",
672
735
  size: "mini",
673
736
  target: "_blank",
@@ -679,13 +742,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
679
742
  ]),
680
743
  _: 2
681
744
  }, 1032, ["content"])
682
- ], 42, _hoisted_4)) : createCommentVNode("", true),
745
+ ], 42, _hoisted_6)) : createCommentVNode("", true),
683
746
  (openBlock(true), createElementBlock(Fragment, null, renderList(row, (data, index2) => {
684
747
  return openBlock(), createElementBlock("td", {
685
748
  key: index2,
686
749
  "data-row": index1,
687
750
  "data-col": index2,
688
- class: normalizeClass(hasJsonInColumn(index2) ? _ctx.$style.minColWidth : _ctx.$style.limitColWidth),
751
+ class: normalizeClass([
752
+ hasJsonInColumn(index2) ? _ctx.$style.minColWidth : _ctx.$style.limitColWidth,
753
+ collapsingColumnIndex.value === index2 ? _ctx.$style.isCollapsingColumn : ""
754
+ ]),
689
755
  onMouseenter: onMouseEnterCell,
690
756
  onMouseleave: onMouseLeaveCell
691
757
  }, [
@@ -726,13 +792,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
726
792
  ]),
727
793
  _: 2
728
794
  }, 1032, ["node-class", "value"])) : createCommentVNode("", true)
729
- ], 42, _hoisted_5);
795
+ ], 42, _hoisted_7);
730
796
  }), 128)),
731
- columnLimitExceeded.value ? (openBlock(), createElementBlock("td", _hoisted_6)) : createCommentVNode("", true),
797
+ columnLimitExceeded.value ? (openBlock(), createElementBlock("td", _hoisted_8)) : createCommentVNode("", true),
732
798
  createBaseVNode("td", {
733
799
  class: normalizeClass(_ctx.$style.tableRightMargin)
734
800
  }, null, 2)
735
- ], 10, _hoisted_3);
801
+ ], 10, _hoisted_5);
736
802
  }), 128))
737
803
  ]),
738
804
  _: 1
@@ -742,38 +808,43 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
742
808
  };
743
809
  }
744
810
  });
745
- const dataDisplay = "_dataDisplay_1dwr4_123";
746
- const compact = "_compact_1dwr4_135";
747
- const table = "_table_1dwr4_139";
748
- const lightHeader = "_lightHeader_1dwr4_156";
749
- const tableRightMargin = "_tableRightMargin_1dwr4_159";
750
- const nodeClass = "_nodeClass_1dwr4_195";
751
- const emptyCell = "_emptyCell_1dwr4_199";
752
- const header = "_header_1dwr4_203";
753
- const draggableHeader = "_draggableHeader_1dwr4_215";
754
- const dragButton = "_dragButton_1dwr4_219";
755
- const highlight = "_highlight_1dwr4_223";
756
- const draggingHeader = "_draggingHeader_1dwr4_227";
757
- const activeHeader = "_activeHeader_1dwr4_232";
758
- const dataKey = "_dataKey_1dwr4_241";
759
- const value = "_value_1dwr4_250";
760
- const nestedValue = "_nestedValue_1dwr4_254 _value_1dwr4_250";
761
- const mappable = "_mappable_1dwr4_259";
762
- const empty = "_empty_1dwr4_199";
763
- const limitColWidth = "_limitColWidth_1dwr4_267";
764
- const minColWidth = "_minColWidth_1dwr4_271";
765
- const hoveringKey = "_hoveringKey_1dwr4_275";
766
- const draggingKey = "_draggingKey_1dwr4_279";
767
- const hoveringRow = "_hoveringRow_1dwr4_295";
768
- const warningTooltip = "_warningTooltip_1dwr4_300";
769
- const executionLinkCell = "_executionLinkCell_1dwr4_304";
770
- const executionLinkRowHeader = "_executionLinkRowHeader_1dwr4_308";
811
+ const dataDisplay = "_dataDisplay_zlszl_123";
812
+ const compact = "_compact_zlszl_135";
813
+ const table = "_table_zlszl_139";
814
+ const lightHeader = "_lightHeader_zlszl_156";
815
+ const tableRightMargin = "_tableRightMargin_zlszl_159";
816
+ const hasCollapsingColumn = "_hasCollapsingColumn_zlszl_194";
817
+ const isCollapsingColumn = "_isCollapsingColumn_zlszl_197";
818
+ const nodeClass = "_nodeClass_zlszl_226";
819
+ const emptyCell = "_emptyCell_zlszl_230";
820
+ const header = "_header_zlszl_234";
821
+ const draggableHeader = "_draggableHeader_zlszl_246";
822
+ const dragButton = "_dragButton_zlszl_250";
823
+ const highlight = "_highlight_zlszl_254";
824
+ const draggingHeader = "_draggingHeader_zlszl_258";
825
+ const activeHeader = "_activeHeader_zlszl_263";
826
+ const dataKey = "_dataKey_zlszl_274";
827
+ const value = "_value_zlszl_283";
828
+ const nestedValue = "_nestedValue_zlszl_287 _value_zlszl_283";
829
+ const mappable = "_mappable_zlszl_292";
830
+ const empty = "_empty_zlszl_230";
831
+ const limitColWidth = "_limitColWidth_zlszl_300";
832
+ const minColWidth = "_minColWidth_zlszl_304";
833
+ const hoveringKey = "_hoveringKey_zlszl_308";
834
+ const draggingKey = "_draggingKey_zlszl_312";
835
+ const hoveringRow = "_hoveringRow_zlszl_328";
836
+ const warningTooltip = "_warningTooltip_zlszl_333";
837
+ const executionLinkCell = "_executionLinkCell_zlszl_337";
838
+ const executionLinkRowHeader = "_executionLinkRowHeader_zlszl_341";
839
+ const collapseColumnButton = "_collapseColumnButton_zlszl_345";
771
840
  const style0 = {
772
841
  dataDisplay,
773
842
  compact,
774
843
  table,
775
844
  lightHeader,
776
845
  tableRightMargin,
846
+ hasCollapsingColumn,
847
+ isCollapsingColumn,
777
848
  nodeClass,
778
849
  emptyCell,
779
850
  header,
@@ -794,7 +865,8 @@ const style0 = {
794
865
  hoveringRow,
795
866
  warningTooltip,
796
867
  executionLinkCell,
797
- executionLinkRowHeader
868
+ executionLinkRowHeader,
869
+ collapseColumnButton
798
870
  };
799
871
  const cssModules = {
800
872
  "$style": style0